" Small Images " blog style scaled image problem
-
Hello!
If we use ” Small Images ” blog style, then the images makes some problem according to gtmetrix and google.
here is a link: https://gtmetrix.com/reports/demo.xtemos.com/uWyIIER3
As you can see, basel theme doesn’t use smaller image for blog page and use the orginal image of the content page … while wordpress generate different image sizes and it should display smaller image than the orginal one …
i checked images on woocommerce and shop section, and it works correct there. only problem belongs to blog page …
Thanks.
+ I found that theme use ” large image ” ( which generated by wordpress by defualt ) instead of using ” medium image ” size …
how can i force blog page to show medium size image?
Hello,
You can change your blog images size in Settings -> Media and then regenerate your thumbnails. If you want to change image size from large to medium for the blog page you can edit the file content.php
and change the line
<?php echo basel_get_post_thumbnail( 'large' ); ?>
to this
<?php echo basel_get_post_thumbnail( 'medium' ); ?>
Regards