Page 1 of 1

Slide Show (by using lightbox gallery - magnificpopup) Google's Lighthouse

Posted: Tue Aug 03, 2021 7:18 am
by Chizzle685
Is it possible to add 'width' and 'height' attributes to Slide Show (by using lightbox gallery - magnificpopup) images to improve Google's Lighthouse 'Performance' scores?

Re: Slide Show (by using lightbox gallery - magnificpopup) Google's Lighthouse

Posted: Tue Aug 03, 2021 7:36 am
by Pablo
The size of the images in magnificpopup is responsive, so it does not have any fixed values.

Note that that this lightbox (like all other lightboxes) is a third party script. I have no control over how the script works. I have just added an easier way to use it on your website.

Re: Slide Show (by using lightbox gallery - magnificpopup) Google's Lighthouse

Posted: Tue Aug 03, 2021 7:50 am
by Chizzle685
Thank you for your quick response. When using the photo gallery (using the Lightbox Gallery - magnificpopup), there are no problems with Google's Lighthouse 'Performance' scores.

But I only need one picture on the page and the other pictures should be started via lightbox

Can you help me?

Re: Slide Show (by using lightbox gallery - magnificpopup) Google's Lighthouse

Posted: Tue Aug 03, 2021 8:55 am
by Pablo
I'm sorry, I cannot change the behavior of magnificpopup. This is a third party script.

If you think this is related to WWB then please provide a demo project so I can see what you have.
Related FAQ:
viewtopic.php?f=10&t=82134