[resolved] Manage Thumbnail Size (2 posts)

  1. just10mninutes
    Posted 1 year ago #

    First of all thank you for this wonderful theme.

    My site was showing thumbnails at 16:9 ratio. Old posts are still showing at 16:9. Old posts are using the default image that is xyz.jpg but now whenever I create a new post and set a image as Featured image it showing square image instead of 16:9 aspect. it brings a image of size 500x500 and the name of the file will be xyz-500x500.jpg is there a way I can make featured image shown is xyz.jpg rather than xyz-500x500.jpg?

    My site is cookingshooking.in
    Just background:
    I ported my site from different theme to Lobster three days back, I used plugin called Media tools to set Thumbnails for all the previous posts. It assigned all the first image of the post as featured image. I am not sure does this plugin has to do with setting the size of the thumbnail.

    Please help

  2. ruphel
    Theme Author

    Posted 1 year ago #

    Sorry, for being two days late, but I am just out of hospital! Nothing serious thankfully :)

    WordPress makes it really easy to set custom thumbnail sizes. Place the code below in your functions.php file.

    // My Custom Thumbnail Size
    add_image_size( 'my-custom-sized-picture', 500, 500, true );

    This will give you a your very own Custom Thumbnail size that will be 500 pixels wide, by 500 pixels tall, hard crop mode (leave out the third parameter is you want a soft cropped thumbnails, as you may want to experiment, like below.)

    // My Custom Thumbnail Size - Soft Cropped
    add_image_size( 'my-custom-sized-picture', 500, 500 );

    For lots more in dept info see:


    Download and install the Regenerate Thumbnails plugin:

    Then, on the Admin Menu go to Tools > Regen. Thumbnails, once on the Regenerate Thumbnails' page, simply click the 'Regenerate All Thumbnails' button. Let the plugin work it's magic. (It really is a fantastic plugin)

    The main thing is to just experiment with different settings, I hope this helps :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic