Change Size of Thumbnail on Homepage
URL to the page in question:
http://http://targetingexcellence.org/
-
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.
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,
Bill
- The topic ‘Change Size of Thumbnail on Homepage’ is closed to new replies.