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 #28164BartoszKeymaster
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 #28357BartoszKeymaster
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.
hide the flip and rotate buttons
4 days, 22 hours ago
Inline Gallery does not work.
by haoxin li
1 week ago
Get download link
1 week, 2 days ago
1 week, 5 days ago
how to fix this code (?cn-reloaded=1) added to url end
5 days, 9 hours ago
LIghtbox does not work
2 weeks, 5 days ago
Watermark on scaled, cropped or rotated image
2 weeks, 5 days ago
Front end user uploaded file to post not showing up in attachments
2 weeks, 4 days ago
Error when using Shortcode
3 weeks, 3 days ago
Showing 2 Million Views on the dashboard an only 10k Views on Website?
3 weeks, 4 days ago