-
AuthorPosts
-
October 23, 2019 at 2:41 pm #1150521
Hi
We have a question about image galleries.
When we have a page with several galleries and then open one in a lightbox, we can also see the images of the other galleries on this page.
Is it possible to make, that in one lightbox only the images of the expected gallery are there?
Do you know, what I mean?
An example you have in the private content.
Best regards
MikeOctober 27, 2019 at 5:13 am #1151459Hey Michael,
Sorry for the late reply, unfortunately, the lightbox finds all of the images on the page and displays them. Currently, we do not have a way to limit the lightbox galleries. For cases when the lightbox is wanted to show only one image we can use css to hide the image numbers below the image and the next / previous arrows and make the pointer not work on the image so it won’t show the next image. But this doesn’t seem like it will help in your case.Best regards,
MikeOctober 30, 2019 at 11:07 am #1152261Hi Mike
Thanks for your response.
Do you have a CSS to hide the image numbers and the next/previous arrows?
Is there any other possibility, to hide other images/show only one image? For example with an external plugin?
Thanks very much.
Best regards
MikeOctober 30, 2019 at 10:08 pm #1152527you have to work with data-groups
in my case for the youtube film i do not need a custom-class because the images have lightbox-added class and the youtube films mfp-iframe –
guess that someone could help you with transfer to different image groups with that hint: https://kriesi.at/support/topic/lightbox-galleries/#post-1116515
On that code you see how to add the data-group attribute to a selector
or:
https://kriesi.at/support/topic/lightbox-on-button-click/#post-650061here from Dmitry Semenov himself an Example: https://codepen.io/dimsemenov/pen/pvvpgJ
October 31, 2019 at 10:15 am #1152639Hi
Thanks very much.
Ok, I will check this out.
Best regards
MikeOctober 31, 2019 at 2:44 pm #1152723Hi Mike,
Please let us know how that worked for you and if you need more help.
Best regards,
VictoriaJanuary 21, 2020 at 10:22 am #1176631Hi
I think you can close this issue.
Best regards
MikeJanuary 21, 2020 at 2:00 pm #1176723Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Show only images of one gallery in the lightbox’ is closed to new replies.