demtario / hes-gallery

Light, dependency free, responsive gallery script
https://demtario.github.io/hes-gallery/demo/
MIT License
29 stars 2 forks source link

feature_request(enhancement): thumbnails bar #10

Open Kristinita opened 3 years ago

Kristinita commented 3 years ago

1. Summary

Please, add thumbnails bar as it implemented in another lightbox plugins.

2. Argumentation

2.1. Common cause

Accessibility. Save users time.

2.2. Details

Currently, HesGallery end-user can solely view one image after another. If the gallery of images is large, it can be time-consuming.

If thumbnails bar will implement, end-users can quickly view all gallery.

3. Examples in another libraries

3.1. Fancybox (preferable)

Right-side bar.

Demo:

Fancybox

3.2. lightGallery.js

Demo:

lightGallery.js

4. Note

If this feature will be implemented, it would be nice to make it as a separated plugin, as in lightgallery.js, e.g.:

<script src="https://cdn.jsdelivr.net/npm/hes-gallery/dist/hes-gallery.min.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/hes-gallery/dist/plugins/thumbnails-bar.min.js" defer></script>

In order to reduce the JavaScript size for users who don’t need this feature.

Thanks.

demtario commented 3 years ago

Hi! That's really cool feature.

Unfortunately I don't have much time to implement this for now, but if you or someone wants to work on this, I would be glad