WordPress.org

Support

Support » How-To and Troubleshooting » Image size display problems

Image size display problems

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    @esmi

    Forum Moderator

    http://codex.wordpress.org/Template_Tags/the_post_thumbnail

    You can also use the add_image_size() function to create post thumbs with different dimensions which can then be called in the appropriate template:

    if ( function_exists( 'add_image_size' ) ) {
    	add_image_size( 'cat-thumb', 200, 200, true );
    	add_image_size( 'index-thumb', 150, 150, true );
    
    }

    Hello again Esmi,

    Thank you for taking the time to help me out. I have read this codex before, but what I don’t understand is how to implement it into my blog since the Vina theme has some parameters set already with the Auto-Grabbed image feature. I contacted Jauhari about it and he explained that all I needed to do what put a picture in the custom field. This doesn’t resize it in the various thumbnail boxes, all it does is take whatever size image is the one you put in the custom field box.

    I put the codex you provided above in the functions.php file, but nothing happened. What do I need to put in the custom field box for each post in this case?

    Hi Brigitte,

    Just had a look at your blog pages and the thumbnail for the St.Paddy’s Day post looks fine – in the search and the holiday’s listing it is a nicely cropped image. Did you fix it, or where you trying to do something else?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image size display problems’ is closed to new replies.