glightbox icon indicating copy to clipboard operation
glightbox copied to clipboard

Show thumnails

Open bjarnef opened this issue 4 years ago • 10 comments

Please describe the feature you want to be implemented. It would a be great to enable the options to show thumbnails in the overlay, e.g. a combination of images and videoes (e.g. via a json-array). In this case it would be great to add a specific class in image/video thumnails to be able to style these, e.g. a play icon on video thumnails.

Explain why the feature is useful It enable the option to see preview of prev/next slides in the gallery, which can be useful in a larger gallery.

Have you seen it somewhere else? In Fancybox v3 it is possible in configuration to show thumbnails. https://fancyapps.com/fancybox/3/

bjarnef avatar Jan 21 '20 11:01 bjarnef

Not sure this will be added but I do like the way fancy box shows the thumbnails.

I'll leave this open to see if more people is interested in something like this.

biati-digital avatar May 09 '20 19:05 biati-digital

Plus 1 for thumbs, also see https://github.com/sachinchoolur/lightGallery

robertimes avatar Oct 20 '20 10:10 robertimes

Yeah, It would be great if it can be added by default. I think, that's the only thing the plugin need to be perfect!

For now, what's your descision ? Would you like to add this feature @biati-digital ?

Loocos avatar Jan 27 '21 15:01 Loocos

Hi @Loocos this will be added in the future but will not be part of the main library, I'm planning to create a plugin system so it's easier to create new features and the main library remains "simple". Creating things like new themes, counters, autoplay, thumbnails, audio support, etc will be easier as I can keep the code separated and the users will be able to choose the functionalities they need.

biati-digital avatar Jan 27 '21 15:01 biati-digital

Alright! This sounds great, when u think it will be available (the plugin system) ? if we can help you to create some plugins

Loocos avatar Jan 27 '21 16:01 Loocos

I've planned one more (minor) update "3.0.8" and then we'll be working on V4, this version will introduce the plugin system, I've no ETA yet, I'm finishing some projects so I've to focus on that first. I'll post a comment here once V4 is released.

biati-digital avatar Jan 27 '21 16:01 biati-digital

@biati-digital I'd love to help out with that plugin system, be it converting current features to plugins or with developing the system itself

gingerchew avatar Feb 11 '21 03:02 gingerchew

@biati-digital any updates on this?

mohamedation avatar Oct 05 '23 08:10 mohamedation

@mohamedation Yes, V4 is advancing rapidly, there's already a functional plugins system, hopefully someone implement this once v4 is out.

As soon as I've something more concrete I'll publish the branch

biati-digital avatar Oct 06 '23 06:10 biati-digital