Change Size of Thumbnail on Homepage

Support Area Forums Foundation Change Size of Thumbnail on Homepage

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://
  • Author
  • #37182
    Dave Funderburke

    How do I change the size of the image preview for posts on the homepage?

    I am using 1200×628 as the featured image size so that if the posts are shared on Facebook the image is optimal size for FB. Currently on the homepage parts of the image are cropped.

    Bill Robbins

    Hi Dave,

    You can change those if you’d like to with a bit of editing. Go to the Appearance section of your WordPress dashboard and click on Edit. From the files on your right, choose images.php and look for this line:

    add_image_size('home-thumbnail', 300, 200, true);

    The 300 here is the width and the 200 is the height. Feel free to change those to the values you need. You’ll probably want to use a scaled down version of the 1200 by 628 as that will be a bit too large for the intended space.

    Once you’ve save your changes, you’ll need to install and run the Regenerate Thumbnails plugin. That will resize your existing images to include the new size you’ve created. New uploads will automatically include that size.

    Take care,

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Change Size of Thumbnail on Homepage’ is closed to new replies.