Problem with Thumbnails Size and Offscreen İmages

Hi,

I'm check site audits have a two problems;

1- " Defer offscreen images" Why load full image on page load? I can't disable this. Try W3 Total's Lazy Load is not working. Autoptimize Lazy Load not working. (ss2.png)

2- Thumbnails size problem. 92px rendered size on image gallery but get 300px image. 578px rendered size on Porduct main image but get 800px image. I can't access Woo> Customizer settings because you remove it. I tried following link "https://woocommerce.com/document/image-sizes-theme-developers/" but not working. I want only get a properly thumbnails, but don't access anywhere! Don't working standart woocommerce hook. What can i do this setup?

Product link: https://hediye.myminiworks.com/u/sevgiliye-hediye-resim-ve-mesaj-baskili-duvar-saati-kopya-2/



Comments

  • Hello,

    1) Did you try the plugin suggested by Google? The AMP?

    2) As the article says, some themes declare image sizes to be optimal for this theme. Betheme is one of these themes, and that is why you do not see an option for image size in Customizer.

    If you need to change it, you will have to modify the files, but we do not provide help with such customization, and you would have to contact your web developer.

    Thanks

  • I got it done gallery thumbnail.

    But continue Offscreen image problem and cannot resize pdrocut list (category, shop etc.) thumbnails.

    I'm tried following code. But showing 800x800.

    if (function_exists ('mfn_woo_support')) {

      function mfn_woo_support() {

       $thumbnail_image_width = 500;

    $single_image_width = 578;


    if( 'modern' == mfn_opts_get('shop-product-style') ){

    $single_image_width = 1200;

    }


    add_theme_support('woocommerce', apply_filters( 'mfn_woocommerce_args', array(

    'thumbnail_image_width' => $thumbnail_image_width,

    'single_image_width' => $single_image_width,

    )));


      }

    }

    add_action( 'after_setup_theme', 'mfn_woo_support' );

  • I have checked another product, as the previous one is no longer avaiable. However, I cannot see the offscreen problem anymore.

    About the code, as I said, unfortunately, I cannot help you, and you would have to contact your web developer.


    Best regards

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.