biati-digital / glightbox

Pure Javascript lightbox with mobile support. It can handle images, videos with autoplay, inline content and iframes
MIT License
2.08k stars 229 forks source link

Show thumnails #86

Open bjarnef opened 4 years ago

bjarnef commented 4 years ago

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/

biati-digital commented 4 years ago

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.

robertimes commented 4 years ago

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

Loocos commented 3 years ago

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 ?

biati-digital commented 3 years ago

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.

Loocos commented 3 years ago

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

biati-digital commented 3 years ago

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.

gingerchew commented 3 years ago

@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

mohamedation commented 1 year ago

@biati-digital any updates on this?

biati-digital commented 1 year ago

@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

projct1 commented 5 months ago

Agree, very wait this feature!