• Resolved azadbakhsh

    (@azadbakhsh)


    I am using the “LiteSpeed Cache” Plugin but when I set “Load JS Deferred” on “Delayed” the Product photos are not loading ! Please check the below Video.
    https://uupload.ir/view/20220628_110928_z9xb.mp4/

    When I check the products, their photos load but when I test with google page speed or other websites, the product photos are not loading !!!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support qtwrk

    (@qtwrk)

    yes, because the images and JS are lazyloaded.

    Thread Starter azadbakhsh

    (@azadbakhsh)

    How can I disable lazyload for images?

    Plugin Support qtwrk

    (@qtwrk)

    it’s in Page Optimizaiton -> Media -> LazyLoad.

    Thread Starter azadbakhsh

    (@azadbakhsh)

    It was already disabled

    So how can I use “Load JS Deferred” with “Delayed” option but without lazyload for images !

    Plugin Support qtwrk

    (@qtwrk)

    then you will need to find the javascript that is responsible for loading the image and exclude it from being delayed

    Thread Starter azadbakhsh

    (@azadbakhsh)

    Hello,

    I found all the JS that loaded on the product page but when I placed them on the “JS Deferred Excludes”, nothing happened and the Product images were not loading.

    List of JS:

    https://shopipersia.com/wp-includes/js/jquery/jquery.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce-multi-currency/js/woocommerce-multi-currency.min.js
    https://shopipersia.com/wp-content/themes/martfury/js/plugins/waypoints.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce-multi-currency/js/woocommerce-multi-currency-switcher.min.js
    https://shopipersia.com/wp-includes/js/hoverintent-js.min.js
    https://shopipersia.com/wp-includes/js/admin-bar.min.js
    https://shopipersia.com/wp-content/plugins/click-to-chat-for-whatsapp/new/inc/assets/js/app.js
    https://shopipersia.com/wp-content/plugins/yith-woocommerce-wishlist/assets/js/jquery.selectBox.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce/assets/js/prettyPhoto/jquery.prettyPhoto.min.js
    https://shopipersia.com/wp-content/plugins/yith-woocommerce-wishlist/assets/js/jquery.yith-wcwl.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce/assets/js/zoom/jquery.zoom.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce/assets/js/flexslider/jquery.flexslider.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce/assets/js/frontend/single-product.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
    https://shopipersia.com/wp-content/plugins/woo-discount-rules/v2/Assets/Js/site_main.min.js
    https://shopipersia.com/wp-content/plugins/woo-discount-rules/v2/Assets/Js/awdr-dynamic-price.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce/assets/js/jquery-tiptip/jquery.tipTip.min.js
    https://shopipersia.com/wp-includes/js/underscore.min.js
    https://shopipersia.com/wp-includes/js/wp-util.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce/assets/js/photoswipe/photoswipe.min.js
    https://shopipersia.com/wp-content/themes/martfury/js/plugins/photoswipe-ui.min.js
    https://shopipersia.com/wp-includes/js/jquery/ui/core.min.js
    https://shopipersia.com/wp-includes/js/jquery/ui/tooltip.min.js
    https://shopipersia.com/wp-includes/js/imagesloaded.min.js
    https://shopipersia.com/wp-content/themes/martfury/js/plugins/jquery.lazyload.min.js
    https://shopipersia.com/wp-content/themes/martfury/js/plugins/jquery.fitvids.js
    https://shopipersia.com/wp-content/themes/martfury/js/plugins/isInViewport.min.js
    https://shopipersia.com/wp-content/themes/martfury/js/plugins/jquery.coundown.js
    https://shopipersia.com/wp-content/themes/martfury/js/plugins/jquery.counterup.min.js
    https://shopipersia.com/wp-content/themes/martfury/js/plugins/jquery.tabs.js
    https://shopipersia.com/wp-content/themes/martfury/js/plugins/nprogress.js
    https://shopipersia.com/wp-content/themes/martfury/js/plugins/slick.min.js
    https://shopipersia.com/wp-content/themes/martfury/js/plugins/notify.min.js
    https://shopipersia.com/wp-content/themes/martfury/js/scripts.js
    https://shopipersia.com/wp-includes/js/comment-reply.min.js
    https://shopipersia.com/wp-content/plugins/woocommerce-deals/assets/js/tawc-deals.js
    https://shopipersia.com/wp-content/plugins/woocommerce-product-stock-alert/assets/frontend/js/frontend.js
    https://shopipersia.com/wp-content/plugins/variation-swatches-for-woocommerce-pro/assets/js/frontend.js
    https://invitejs.trustpilot.com/tp.min.js
    https://shopipersia.com/wp-includes/js/wp-emoji-release.min.js
    Plugin Support qtwrk

    (@qtwrk)

    try simply use

    wp-content
    wp-include

    to exclude all

    if with above 2 string didn’t work , that means you have some inline JS that you need to look into it and exclude

    Thread Starter azadbakhsh

    (@azadbakhsh)

    Didn’t work. How can I check the inline JS and find the right one and exclude it ?

    Plugin Support qtwrk

    (@qtwrk)

    open your page with query string ?LSCWP_CTRL=before_optm , this will open your page bypass LSCWP

    then view the source code , search for <script , if the following code is not linked to an URI , then it is an inline JS

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Product Photo not loading’ is closed to new replies.