• Hello.

    If you go to this page https://www.keengamer.com/articles/guides/how-to-grow-giant-crops-in-stardew-valley/ you can see that we have related images in the sidebar and down below the post. The problem is that even checking with Google the images are loaded fully and not just as we need them. In your settings we have the size 396×245 set. Because those are the images we use and that’s the correct size.

    We also disabled your size generation via

    add_filter( ‘yarpp_add_image_size’, ‘__return_false’ );

    Still if you check the page then the images are not loaded the way we need them 396*245 but the full size is loaded 2560*1440. Why?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YARPP

    (@jeffparker)

    Hi @keengamer

    By default, if an appropriately sized thumbnail is not available in WordPress, a larger image will be served and will be made to fit in the thumbnail space via CSS.

    You need to make sure that the 396×245 variant of all the thumbnails are generated and available for use.

    1. You may select YARPP’s “Generate missing thumbnail sizes” option to generate any missing images on the fly. Doing this type of processing on the fly may not scale well for larger sites.

    2. For on the fly processing, you may also add the following to your theme’s functions.php file

    
    define('YARPP_GENERATE_THUMBNAILS', true); 
    

    NOTE: 1 & 2 do the same thing. It’s two different methods of activation for the same feature.

    3. For larger sites, we recommend the Regenerate Thumbnails plugin or WP-CLI to generate missing thumbnail sizes in a batch process for better control of timing and load.

    New images should continue to automatically get all active thumbnail sizes generated when they are uploaded.

    Thread Starter keengamer

    (@keengamer)

    Hello. We don’t need to generate the images again because the sizes are already generated. You can see it on the images here. https://imgur.com/a/6sGRLui

    So there is no need to generate it again via your plugin. That doesn’t make any sense.

    • This reply was modified 2 years, 5 months ago by keengamer.
    Thread Starter keengamer

    (@keengamer)

    Hello,

    no, the problem si directly with this code

    add_filter( ‘yarpp_add_image_size’, ‘__return_false’ );

    If we have it in our functions.php then your default image 120×120 is not created. BUT then correct size is not used by your plugin.

    Please, tell me how to disable creation of your image sizes 120×120 which we do not need and not to damage the whole functionality of your plugin.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Intrinsic size, image size’ is closed to new replies.