• Resolved VierasTalo

    (@vierastalo)


    Hi. Our current site uses Hueman, and it remains wonderful for our purposes. However, I’ve noticed that the featured images for our articles are very compressed on the index pages. Take for example this page that shows one of the clearly problematic images: https://www.laajakuva.com/?s=dreamcatcher

    The poster for Dreamcatcher is very high quality, with both width and height reaching well over 1000 pixels in the source image used for the featured image. The thumbnail however, as you can see, is the furthest thing from the crisp and clean original. Is there a resizing or compression setting somewhere, and how do I turn it off?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi VierasTalo,

    The resolution of the thumbnail image quality on the page your link points to can come from changing one of the 2 options outlined below:

    1) functions.php:

    Open functions.php and find this line towards the top of the page:

    function alx_setup()

    In this function you find this piece of code:

    // Thumbnail sizes
    add_image_size( 'thumb-small', 160, 160, true );
    add_image_size( 'thumb-standard', 320, 320, true );
    add_image_size( 'thumb-medium', 520, 245, true );
    add_image_size( 'thumb-large', 720, 340, true );

    The size used in that page is thumb-standard. If you change the size there, you should be able to have a better quality.

    2) Alternatively, open this template file: content-standard.php in a code editor. Find this line of code towards the top:

    <?php the_post_thumbnail('thumb-standard'); ?>

    If you replace thumb-standard with a higher-resolution thumbnail size, like thumb-large, should result in a better looking image.

    However, because you’ll be changing the theme files, my recommendation is to create a child theme, so your mods will survive a theme update. If you need help creating a child theme, this plugin could help:
    https://www.ads-software.com/plugins/orbisius-child-theme-creator/

    I hope this answers your question, if you need help with anything outlined here, please keep posting here.

    Cheers!

    -Maria Antonietta

    Thread Starter VierasTalo

    (@vierastalo)

    Thank you! The functions didn’t include thumb-standard, but the content-standard was actually using thumb-medium so I edited the size of that one and it worked well. Now I just need to get a plugin to re-do all our thumbnails… Oh well. Thank you for the help, I really do appreciate it!

    I’m glad you solved the problem. Have a great weekend!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Improving post thumbnail quality?’ is closed to new replies.