Hi there,
I am building a site with categorized posts displayed in a view. On clicking on the image in the posts, the image is displayed in a layover using the Lightbox Plugin see for example hidden link
I want now to display all the images of this category inside this layover as a gallery, so the user can easily see all the images in this category without closing and reopening the lightbox. see the old site ( Drupal6) where this worked out of the box hidden link
Can someone give me a hint on how to do this with views?
Thanks
Hi Peter,
Thank you for contacting us and I'll be happy to assist.
The lightbox script that you're using on your website, expects the same "data-lightbox" attribute value for the images, in order to recognize them as a gallery or an image set.
( ref: hidden link )
Currently, your image's code structure is:
<a href="link ...." title="title ...." rel="gallery-all">
<img .... />
</a>
You can update it to include any but same "data-lightbox" attribute value e.g. "gallery":
<a href="link ...." title="title ...." rel="gallery-all" data-lightbox="gallery">
<img .... />
</a>
I hope this helps and let me know how it goes.
regards,
Waqar
My issue is resolved now. Thank you!