Support » Plugin: Autoptimize » Product images had disappeared

  • Resolved yellowrobinstore

    (@yellowrobinstore)


    Hi there,

    I noticed that all the product+gallery images had been disappeared from their page eg all my images are failing to load on my site individual product page. When I deactivate the Autoptimize plugin, all the images appear again.

    I really like this plugin and I had enable its auto-update. I’d appreciate it if someone can help me to fix this problem while having the Autoptimize plugin active.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • I just realised my longstanding issue with disappearing the price for the specific variation which always show above the Add to Cart button had also resolved by DEACTIVATION of Autoptimize plugin! Very strange! so I keep the Autoptimize deactivated for now, until I get the support from the Autoptimize team. Hopefully soon 🙂

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    First and foremost try to identify what is breaking things by just disabling CSS or JS or HTML or Image optimization (incl. lazyload). Based on that we can see what the next steps need to be 🙂

    frank

    Thanks for getting back to me Frank.
    Disabling CSS did NOT solve the problem however disabling JS (keeping CSS active) did fix the problem.
    The current setting:
    JS OFF, CSS ON, Image optimisation OFF, Lazyload ON

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, next up;
    * when JS opt. is on, what JS errors do you see on the browser console?
    * when JS opt. is on, but “aggregate JS” is off, do images show?

    When JS opt. is on:

    autoptimize_3d6d88510fd20d4b692ec40d62e44d22.js:275 Uncaught TypeError: $(…).live is not a function
    at autoptimize_3d6d88510fd20d4b692ec40d62e44d22.js:275
    at autoptimize_3d6d88510fd20d4b692ec40d62e44d22.js:275
    (anonymous) @ autoptimize_3d6d88510fd20d4b692ec40d62e44d22.js:275
    (anonymous) @ autoptimize_3d6d88510fd20d4b692ec40d62e44d22.js:275
    ?v=6cc98ba2045f:949 Uncaught TypeError: Cannot read property ‘setDefaults’ of undefined
    at HTMLDocument.<anonymous> (?v=6cc98ba2045f:949)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)
    at HTMLDocument.J (jquery.js:2)

    ——————————————

    When JS opt. is on, Aggregate JS-files off:

    autoptimize_single_3b4a1c25666acee287fe455367c8774a.js:1 Uncaught TypeError: $(…).live is not a function
    at autoptimize_single_3b4a1c25666acee287fe455367c8774a.js:1
    at autoptimize_single_3b4a1c25666acee287fe455367c8774a.js:1

    ————————————–

    Just for you to know:
    Exclude scripts from Autoptimize:
    wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, the root problem is with the woocommerce-image-zoom plugin’s JS, I even get the $(…).live is not a function error when AO is not active (by adding &ao_noptimize=1 to the URL);

    You can limit the damage that error does by adding plugins/woocommerce-image-zoom to the comma-separated JS optimization exclusion list, but you’ll have to reach out to that plugins developers to get support for $(...).live is not a function.

    Great. Thank you so much for your help.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! 🙂

    have a nice day,
    frank

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.