• Resolved Gérald Mardirossian

    (@gerald-mardirossian)


    Hello,
    is there a way to add explicit size to images ?

    otherwise pagespeed / lightouse will say “Image elements do not have explicit width and height”

    thank you for your help

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Andrew Misplon

    (@misplon)

    Hi Gérald

    Thanks for reaching out. Please, can you let us know an example. There isn’t a blanket answer I can think of, we’d need to check the specific instance and advise from there.

    Tim

    (@turrdpress)

    Hi,
    I noticed the gallery plugin doesn’t produce height or width attributes and it is causing Content Layout Shifts. This is a key metric in Google’s latest Core Web Vitals update and is drastically affecting scores. Is there a way to easily add height/width info to the html output?

    It can be seen in the siteorigin panels in the slide-item element:
    <article class=”slide-item “></article>

    There are no height=”” or width=”” attributes

    • This reply was modified 3 years, 8 months ago by Tim.
    Plugin Support Andrew Misplon

    (@misplon)

    Hi Tim

    Thanks for reaching out.

    Kindly, open a new support thread, we’d be happy to lend a hand wherever possible. Please, include a link to the page in question when posting a thread.

    Kind regards

    Andrew

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add explicit size to image’ is closed to new replies.