• Resolved pirf

    (@pirf)


    Hey guys,

    I recently bought on of your theme (Squaretype) and in posts, some images were not displayed. I could find that images with a single quote in the alt text were not displaying E.g. "en provenance d'euronext".
    By trying to disable stuff here and there I found that the Lazyload module in PowerKit was responsible. Disabling it displays the images.

    Here is the difference for the <img code from my inspect console :

    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=" alt="Cotation en temps réel en provenance d" sur="" zonebourse"="" class="wp-image-588 pk-pin-it-ready" data-pk-sizes="auto" data-pk-src="

    <img src="https://www.brigadedufric.com/wp-content/uploads/2019/04/cotation-temps-reel-euronext-zonebourse-1024x672.png" alt="Cotation en temps réel en provenance d'euronext sur Zonebourse" class="wp-image-588 pk-pin-it-ready" srcset="

    You can see the alt text is all broken up.

    I disabled lazyloading for now, can you update when this is fixed ?

    Thanks ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codesupplyco

    (@codesupplyco)

    Hi,

    Have you tried disabling other third-party plugins?

    I’ve also noticed there’s an issue with img tag parameters. Could you try removing ' from the alt tag?

    
    Cotation en temps réel en provenance d'euronext sur Zonebourse
    

    Thanks!

    • This reply was modified 5 years, 7 months ago by codesupplyco.
    Thread Starter pirf

    (@pirf)

    If I remove the single quote from the alt tag it works but the problem is I can’t expect all non-technical person in my team to remember that we can’t use single quotes in alt text (and my seo person won’t be happy haha).

    I’m fine not using lazyloading or using an other plugin though (the lazyloading from smush works fine)

    Hope that helps ??

    Plugin Author codesupplyco

    (@codesupplyco)

    OK, thanks for the feedback.

    Looks like the single quote in the alt tag breaks the lazy load feature indeed.

    I’ll pass it over to our dev.

    Many thanks for reporting!

    Plugin Author codesupplyco

    (@codesupplyco)

    Could you please open a ticket at https://codesupply.co/support ?

    I’m afraid, we’re unable to reproduce the issue on our end ??

    Plugin Author codesupplyco

    (@codesupplyco)

    I’m afraid, we’re unable to reproduce the issue locally, so I’ll mark this as resolved.

    Feel free to reach out to us via https://codesupply.co/support so that we could take a closer look at the issue.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Single quote in alt text with Lazyload module activated breaks images’ is closed to new replies.