
Tagged: Lightbox, webp images
-
AuthorPosts
-
September 19, 2025 at 7:11 pm #1489407
hi
The images on my site below and have replaced my jpgs with webp files to cut down on page size, but the webp files aren’t opening in lightbox.
The first image are ther hero is a jpg and opens, but the rest are still webp and open as static images in another tab.
Can you help me with this? thanks.-
This topic was modified 4 days, 1 hour ago by
Munford.
September 20, 2025 at 4:32 pm #1489417well i thought that webp is allready included to autolinkElements in avia-snippet-lightbox.js – there is a[href$=webp] in the list.
So what version of enfold do you run on that page? i guess it is in there since newer Enfold Versions.September 22, 2025 at 5:22 am #1489440Hi,
Thank you for the inquiry.
Try to update theme to version 7.1.2, then toggle or temporarily disable the Enfold > Performance > File Compression settings. If the issue persists, you may need to add the “lightbox” class name (under Advanced > Developer Settings > Custom CSS Class) to the images using webp format.
Best regards,
IsmaelSeptember 22, 2025 at 11:03 am #1489456the compression was disbabled, and I added the name “lightbox” to the css class on the 2 overlapping images (*now both webp) –
they open in lightbox on the preview but not on the actual page view.
can you see the lightbox on your end?
I don’t see an update to 7.1 in the theme options.thanks
NancySeptember 23, 2025 at 5:22 am #1489476Hi,
Thank you for the update.
What happens when you add the class name “post-entry” to the image elements? Please provide the login details in the private field so we can investigate the issue further. Also, make sure that Appearance > Theme File Editor is accessible.
Best regards,
IsmaelSeptember 23, 2025 at 11:45 am #1489490I did that on the first image but it didn’t change anything.
Do the webp images really save that much load time?
The site loads slowly but I think it’s because of the video at the bottom.-
This reply was modified 8 hours, 37 minutes ago by
Munford.
September 23, 2025 at 1:29 pm #1489494In my opinion, webp makes sense if you use it as a replacement for png. If you have an image without transparency, jpg is just as good.
September 23, 2025 at 4:48 pm #1489497This reply has been marked as private. -
This topic was modified 4 days, 1 hour ago by
-
AuthorPosts
- You must be logged in to reply to this topic.