I’m currently using the Lightbox with PhotoSwipe plugin on my WordPress website and I’m encountering an issue. The plugin works perfectly for images in WEBP format but does not seem to activate for images in JPG format.
Here is the HTML for a WEBP image, which works fine:
<a
data-lbwps-width="4160"
data-lbwps-height="6240"
data-lbwps-srcsmall="https://mywebsite.com/path/to/image.webp">
<img decoding="async"
src="https://mywebsite.com/path/to/image.webp"
alt=""
class="aligncenter size-full wp-image-4203">
</a>
And here is the HTML for a JPG image, which does not activate the lightbox:
<a >
<img decoding="async"
class="aligncenter size-full wp-image-4224"
src="https://mywebsite.com/path/to/image.jpg"
alt="">
</a>
Both images are inserted into posts using the same method. The plugin seems to be adding the necessary data- attributes automatically for the WEBP image but not for the JPG image. I have checked my settings and do not see an option to choose which image formats should be processed by the plugin.
To troubleshoot the issue, I have deactivated all other plugins and switched to a default WordPress theme, but the problem persists.
I would appreciate any help or suggestions to troubleshoot this issue. Thank you in advance.
]]>I am seeing 2 different layouts for the gallery and I’m not sure how to get both galleries to look the same.
I have updated the settings (saved them) and cleared the website cache. I have also regenerated the thumbnails and saved the permalinks.
The gallery works properly on this page:
https://www.moosejawapartments.ca/rentals/apartment-rentals/
however the gallery does not appear with the same settings on this page:
https://www.moosejawapartments.ca/rentals/house-rentals/
All of these galleries are using the same layout. Any suggestions on how I can get the house-renatls layout working? Thanks.
Jeff
]]>Hope you can fix it in the next update :-).
All the best
]]>thanks!
Envira version 1.6.1.6
WP version 4.8.1
method: I uploaded three photos, chose three column view and enabled the lightbox display. I only changed the size of the photos in the gallery to be 640×640. Pretty simple, not many changes to the default settings.
I am using the foo gallery plugin, but I cannot get the lightbox to work,, I have tested it on 2 different themes, Morphues and Twenty Twelve with same effect… Can you please tell me how I get it working?
Here are the site so you can see what it does
https://mediaworldwide.co.uk/gekko-lightning/galler-test/
https://mesabar.co.uk/gallery/
Thanks,
Christian