2 August 2018 at 12:37 #27695
Okay, wow. I have to write my support ticket again. This very annoying system didn’t put my post through…
Short version: Responsive Lightbox & Gallery works perfectly fine. As soon as I activate the PhotoSwipe Extension (which I spent money for) the lightbox doesn’t work anymore….
h t t p s : / / w w w .forcewerk.com/2018/wordpress/portfolio/auto-guangzhou-2017/
Thanks!24 August 2018 at 13:01 #28164
We’ve checked your site and it seems it’s using an outdated syntax for the lightbox.
For example rel=”lightbox” instead of data-rel=”lightbox” for single images.
Is this a custom build theme?29 August 2018 at 02:38 #28269
Hi Bartosz, that has indeed been the problem! I’ve just modified the code to data-rel=”lightbox” and now it works! You made my day! Thanks a lot! Regards
PS: Quick additional question. Would it be possible to have PhotoSwipe not only show the pictures within one gallery but also the embedded vimeo video (iFrame) as seen on my site?31 August 2018 at 14:59 #28357
Just please try addin the same data rel attribute to the video, it’s not very consistent but it might work.
To be precise, the best syntax for galleries is:
<a href="img url" data-rel="lightbox-gallery-1">thumbnail</a> <a href="img url" data-rel="lightbox-gallery-1">thumbnail</a> <a href="video url" data-rel="lightbox-gallery-1">thumbnail</a>
And if you have another gallery just set the data-rel to lightbox-gallery-2, 3, 4 and so on.
RLG is doing the same internally, but for custom galleries this is the way to go.3 October 2018 at 12:17 #29103
Thank you! However, since the video is embedded due to an iFrame I can’t manipulate the code and add the data-rel tag to the video (as far as I know). Is there any other way to have an embedded Vimeo video shown within a gallery of pictures?23 October 2018 at 11:30 #29486
- You must be logged in to reply to this topic.
No full screen
1 day, 19 hours ago
Post Views Counter & Redis
1 day, 22 hours ago
Export- / Import-Function
1 day, 23 hours ago
Issues with Mobile and TosRUs
2 days, 10 hours ago
How to exclude Woocommerce gallery but NOT wordpress galleries from Ligthbox
2 days, 14 hours ago
Lightbox not working on WooCommerce Product Pages
by Kristel Hayes
3 days, 13 hours ago
Database insert optimization
5 days, 15 hours ago
Can I build in a stop in a block with Responsive Lightbox & Gallery?
5 days, 16 hours ago
Alt Attribute is Missing for Gallery Images
5 days, 18 hours ago
CF7 broken for 2+ years
1 week ago