Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image caption suggestion: title and description #42

Open
DanielM-1993 opened this issue May 3, 2016 · 1 comment
Open

Image caption suggestion: title and description #42

DanielM-1993 opened this issue May 3, 2016 · 1 comment

Comments

@DanielM-1993
Copy link

DanielM-1993 commented May 3, 2016

I've been developing a website as a personal project and have included your wonderful lightbox within to offer the great functionality it provides and while implementing an image gallery I thought about a possible improvement or addition that could be made to the simple lightbox.

I've noticed that some photographers and people who host images on portfolio's etc like to have a title and a description associated with a photograph or image and displayed inside the caption so they can display a creative name for the photo/image as the title and use the description to add extra detail like where it was taken or who is featured in the shot. The title and description for a photo/image would then be contained within the 'title' and 'alt' attributes respectively inside the 'img' element although there is no reason the information could not be held within data attributes instead. Assuming classes were then added to both the title and description inside the caption they could then be styled appropriately to suit the users requirements.

I don't know if you feel this functionality would be useful to have or whether it would add a level of complexity that would take away the simplicity of the lightbox but I thought I would share my thoughts and suggestion.

Thank you for reading,
Daniel.

@andreknieriem
Copy link
Owner

I will take a look if this feature is easy to implemenent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants