• Resolved grzechus

    (@grzechus)


    Hello,

    In the Image Box block, the tag html code do not have the alt attribute and also width and height are missing. These are mistakes from an SEO and website speed point of view. How can I make the code on the front end have an alt attribute (which is filled in in the Media Library) and the image sizes?

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

    (@dimned)

    Hi @grzechus,
    I’ve tested the Image Box and I could see alt attribute available for img tag. Do you have your site example where alt attribute is not available in the Image Box?
    There is also used srcset attribute to specify the path to an image to use in different situations.

    Thread Starter grzechus

    (@grzechus)

    Hi @dimned,
    I put the blocks back and the actual alt appeared this time. Strange, because the first time I put 7 image box blocks on one page and none of them had alt.

    As for the size, I know there are srcset but I need width="X" and height="Y" for lazyload (using liteSpeed Cache plugin), to reduce CLS errors in Google Search Console.

    Plugin Support dimned

    (@dimned)

    Hi @grzechus,
    Thanks for your reply. I’ve added your request to our developers for review. We will notify you if there are any news.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Image Box alt and size’ is closed to new replies.