Home Forums Basel support forum " Small Images " blog style scaled image problem

" Small Images " blog style scaled image problem

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24542

    wantons
    Participant

    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.

    #24546

    wantons
    Participant

    + 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?

    #24554

    Artem Temos
    Keymaster

    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

Viewing 3 posts - 1 through 3 (of 3 total)