• Hi there!
    Is it possible to scale images (i.e. Featured images) on the frontpage in order to reduce load times and improve performance?
    Images appearing on the frontpage are resized using CSS/HTML so full size images are loaded.
    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Did you find a solution? This is killing my Google SEO ??

    Thread Starter antoniomc76

    (@antoniomc76)

    Well, I made some changes in functions.php to reduce the size of the thumbails:

    This is the original code:

    // Post thumbnails
    	add_theme_support( 'post-thumbnails' );
    	set_post_thumbnail_size ( 88, 88, true );
    	
    	add_image_size( 'post-image', 973, 9999 );
    	add_image_size( 'post-thumb', 508, 9999 );

    I found the size of the thumbsnails was 508px wide, even when images are displayed in a smaller size: 348px. So I changed the code to:

    add_image_size( 'post-thumb', 348, 9999 );

    Please note that you need all the thumbnails in your index page to be rescaled in order to get some improvement.
    Hope it helps.

    Thank you buddy. That helped tremendously.
    I also updated the thumbnail size, so the system doesn’t create thumbnails that are not needed. (88×88).

    // Post thumbnails
    add_theme_support( ‘post-thumbnails’ );
    set_post_thumbnail_size ( 348, 9999, true );

    add_image_size( ‘post-image’, 973, 9999 );
    add_image_size( ‘post-thumb’, 348, 9999 );

    By the way, did you ever experience the theme used the full size images as thumbs? I see this all the time.

    Arhh. Found the source of my problem. The front page shows the thumb, but if you right click and view image, it will show you the full size image.. Very clever..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Scaled images on frontpage?’ is closed to new replies.