blueimp / Gallery

blueimp Gallery is a touch-enabled, responsive and customizable image & video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers. It features swipe, mouse and keyboard navigation, transition effects, slideshow functionality, fullscreen support and on-demand content loading.
https://blueimp.github.io/Gallery/
Other
3.75k stars 983 forks source link

Using primary image from link as thumbnail #187

Closed LeahArmstrong closed 10 years ago

LeahArmstrong commented 10 years ago

Without having to use the api and move static content into a js file, is it possible to use the primary image in the link that is being used for the lightbox popup as the thumbnail image as well? It would reduce the amount of clutter since the images are the same and I have no need to crop them to thumbnails.

Thanks

blueimp commented 10 years ago

I'm not sure this is what you want, but you could of course use the same image url for both the <img src="url"> and the surrounding link <a href="url"> Please keep in mind that this would force any browser clients to download all of the full-size images.