Support » Plugins and Hacks » File Gallery » Create gallery with one preview image only?
3 years, 10 months ago
is there a way to create a gallery that has one static preview image, that, when clicked, opens a lightbox with all items of the gallery?
Or would I have to instert an image that links to another site which includes the gallery?
Thanks in anticipation.
I have the same question.
@roboth, @lbergren: that can be done quite easily, but you’ll need to create your own custom template, or modify your theme’s css file.
The easiest way to do this would be to hide all images in the gallery by using CSS, and apply a different classname to the the first image in each gallery and make it visible (or use :first-child).
If you don’t want the static preview image included in the gallery, then that’s a different, and a bit more complicated story 🙂
3 years, 9 months ago
Thanks for your replay! I’m not that good in CSS yet but I will give it a try 🙂
Happy New Year btw!