Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5863

    Currently the featured images I add to a post display at about 180px by 180px. I’d like to change it so that the images display at 180px wide and 250px height. I have found the CSS to change the rounded border by I can’t find out how to change the image size?

    Thanks in advance

    #51991

    Hey,

    you can adjust the thumbnail size in functions.php. To change the size of existing thumbnails you need to use this plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/ (it regenerates them).

    #51992

    I’ve updated functions.php to make the image sizes portrait instead of square for medium thumbnails:

    $k_option = array(‘width’=>180, ‘height’=>250); // big preview pic for full sized posts

    I updated the CSS to make the rounded border fit my desired image size 180px wide by 250px height.

    Next I installed the plugin to regenerate the thumbnails and ran that for one of my images but it didn’t change. I also uploaded a new image which is 180px by 250px. I selected ‘full size’ and ‘set as featured image’ in the set featured dialogue box but is still appears square?

    You can see here: http://www.nicolamorgan.com/author/uncategorized/test-post-image-size/

    #51993

    You need to adjust this code in style.css:

    .entry-previewimage a{
    height:180px;
    width:180px;
    overflow: hidden;
    border:none;
    display:block;
    }

    #51994

    Thanks Dude – I didn’t spot that. Working perfect now!

    #51995

    Glad that I could help you :)

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘How can I change the size of a featured image’ is closed to new replies.