Suggestion for a new field type: "lightboxed image"Browser Info Environment
what do you think about the suggestion to integrate a field type "lightboxed image", to be able to not only display images with fixed dimensions in custom blocks, but also thumbnails that link to the lightboxed full size image?
For instance, it would be nice to be able to build a block with text wrapped around a thumbnail that shows the full size image, when clicked. Maybe with a zoom effect or just a lightbox.
Would it be possible to prevent JS to get loaded multiple times, if that block is used more than once on a page?
We could autoload using the default js and css directories, but if you're already including the script in your theme, it will be ignored... So no real good solution there I guess?
And you're talking about single images here?
yes, i mean single images, but usable multiple times on a page or even multiple times inside the custom block. For example, to display text, illustrated with zoomable or otherwise enlargable images.
Would it make sense if we add an option (checkbox) in the image field type like
"Make image clickable to full sized image"
And if checked, you can choose your own classes to attach to this anchor. And don't include any JS, but you do the JS yourself in your theme JS, by attaching it to this class on the anchor?