How do I change Featured image thumbnail size for featured posts?

Community Forums Forums General Discussion How do I change Featured image thumbnail size for featured posts?

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  lance_kidd 7 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #84906

    turtle
    Participant

    Hi, I’m very new to wordpress and studiopress, so please expect silly questions for a while!

    I’m kinda getting there and testing how my Elevent40 Pro theme shows featured posts on the front page. The problem is that the dimension of the little thumbmails that sit above the text are not going to work for me. They look about 200 pixels long and about 70 tall so all my photos will be heavily cropped and look odd.

    How do I change the dimensions of the featured image thumbnails that appear in featured posts? Ideally, I’d like something that does not resize my photos too much, i.e. 210 x 140, which is standard 3:2 ratio.

    Can anyone please help? Thanks!

    #84940

    1. Open functions.php and using following code add new image size (one line depending on size you want).

    /** Add new image sizes */
    add_image_size( ‘home-featured’, 300, 250, TRUE );
    add_image_size( ‘related’, 180, 120, true );
    add_image_size( ‘thumbnail’, 110, 90, TRUE );

    2. Then goto Genesis > Theme Settings. Under content archive section, select new image size.

    To resize already uploaded images to new size, use regenerate thumbnails plugin. http://wordpress.org/plugins/regenerate-thumbnails/


    #85145

    turtle
    Participant

    Thanks for helping Davinder!

    I have found the functions.php area and can see an open text box with the code inside.

    Do I paste the code in at the bottom or the top?

    #85292

    Look for (/** Add new image sizes */) section in functions.php file. If there isn’t, then paste the provided code anywhere. Please note, each line adds new image size. Add sizes (and respective lines) as per requirement.


    #138501

    lance_kidd
    Participant

    Thanks for this. Helped perfectly.

    • This reply was modified 7 months, 1 week ago by  lance_kidd.
    • This reply was modified 7 months, 1 week ago by  lance_kidd.
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.