• Resolved damiensw

    (@damiensw)


    Hello,

    I activated optimize the images via cdn shortpixel but it seems that on my website it’s not working.
    Could you take a look ?

    thanks

    The page I need help with: [log in to see the link]

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

    (@optimizingmatters)

    I see some images being rewritten to the Shortpixel CDN, but e.g. on https://www.mickaelzermatiphotographe.com/blog/ I see images that are added by Tatsu (your theme’s page builder I think?) and which don’t have a src attribute, only data-src (likely depending on Oshin/ Tatsu JS to lazyload those images). The problem: AO image optimization does not work on <img tags without a src attribute I’m afraid.

    Check if you can disable lazyload in theme/ pagebuilder, thus ensuring the src attrib is there. If you want you can always enable lazyload in AO.

    hope this helps,
    frank

    Thread Starter damiensw

    (@damiensw)

    Hello ! Thanks for your answet !

    Indeed lazy loading was activated on tatsu, so I desactivated them. Is it ok now ?

    But on some other pages (most important) there is no tatsu but images displayed by the theme : https://www.mickaelzermatiphotographe.com/la-roseraie/

    Seems to not work and I don’t see any option to disable lazyload in that case.

    Thanks,

    Damien

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    similar but different problem;

    
    <div class="placeholder style1_placehloder load show-title" data-source="https://www.mickaelzermatiphotographe.com/wp-content/uploads/2020/02/mickaelzermati-laroseraie-2.jpg" data-alt="" style="margin-right: 15px"><img src="" style="opacity: 0; display: block;" /></div>

    the <img tag is empty and the image source URL is in the parent <div in the data-source attribute and here too you’ll have JS doing the image loading, so here too AO is not able to change the image URL to the shortpixel one … :-/

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    were you able to advance on this @damiensw , maybe identify what in the theme was causing the img src to be empty?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No feedback so I assume this got resolved? Feel free to follow up if you still encounter issues!

    have a nice day!
    frank

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue with cdn shortpixel’ is closed to new replies.