XiongAmao / vue-easy-lightbox

A tiny lightbox component for Vue.js 3.0 :tada::tada: https://xiongamao.github.io/vue-easy-lightbox/
MIT License
409 stars 68 forks source link

Feature request - Add thumbnails #83

Open lnatu opened 2 years ago

lnatu commented 2 years ago

Hi, It would be great if we can haves thumbnails below the main image

andysay commented 2 years ago

+

andysay commented 2 years ago

Please add this feature !!)

pzpsofficial commented 2 years ago

Regarding this request - maybe it's a good idea to give a try to something like swiper? Which would give a lot of freedom and flexibility in terms of slider, and save a lot of time.

XiongAmao commented 2 years ago

@pzpsofficial Hi,

Indeed this is a very nice feature.

When I first wrote this component, I didn't consider these related features at that time, so some of vue-easy-lightbox current features, such as the image loading behavior and how to move images, may conflict with the implementation of thumbnails. I haven't figured out how to deal with this.

Maybe refactoring the whole component would be a better choice. PR would also be welcome.

Here are some more mature components: https://github.com/mirari/v-viewer https://github.com/sachinchoolur/lightGallery

pzpsofficial commented 2 years ago

@XiongAmao Hi,

Thanks for your answer. For my case your component was perfect, because of simplicity - when I look at all those more mature components I just think, that sometimes all you really need is a screwdriver and nothing more. I would love to participate in this component, but I don't have much free resources at the moment :(

All best, and thank you for great work :)