Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to define glightbox galleries to limit image scrolling #2136

Open
1 task done
PerfectAgent007 opened this issue Dec 19, 2024 · 2 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@PerfectAgent007
Copy link

Checklist

Is your feature request related to a problem? Please describe

Glightbox treats every image in a post as part of one gallery, including the header image. The glightbox documentation mentions using "data-gallery" to group images into different galleries, however the Chirpy version doesn't respond to that.

Describe the solution you'd like

Can the additional features of glightbox be implemented such as being able to use either "data-gallery" in HTML and/or a markdown tag such as {: .galleryX}? This would limit scrolling too far in either direction on image-heavy pages.

Describe alternatives you've considered

No response

Additional context

No response

@PerfectAgent007 PerfectAgent007 added the enhancement New feature or request label Dec 19, 2024
@cotes2020
Copy link
Owner

I haven't had time to dive into this topic lately, so if you're interested in this, could you facilitate a bit more of the data-gallery story?

@PerfectAgent007
Copy link
Author

From Glightbox's documentation on GH it has gallery support to create multiple galleries. In the Examples section the "data-gallery" attribute is used to define a gallery so that images that have 'data-gallery="gallery1"' would be grouped into Gallery 1 and images with 'data-gallery="gallery2"' into Gallery 2, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants