WordPress.org

Ready to get started?Download WordPress

Forums

Thumbnail sizes help. Different thumbnail sizes in media browser (3 posts)

  1. matt-tyas
    Member
    Posted 2 years ago #

    Hi,

    My thumbnails in wordpress are quite messed up and I am very confused. I basically want to display 172x88 thumbs on my homepage and on my category pages. On my homepage they are constrained by the CSS at the moment (mainly because I cannot get the sizing to work).

    On the category pages they are mainly okay, but sometimes they are weird sizes like 61x88. The 88 seems to work but the 172 goes wrong all the time...

    I am totally lost. I recently added:

    if ( function_exists( 'add_image_size' ) ) {
    	        add_image_size( 'cat-post-thumb', 172, 88, true );
    	}

    To my functions file when I coded the homepage, I also changed the media thumbnail size to 172x88 in the admin. I have changed settings everywhere, messed about with everything I could find and read the documentation but I do not understand where these other sizes are coming from.

    I know these things:

    When I upload media images are saved at:

    • filename-172x88.jpg
    • filename-88x172.jpg (a dup??)
    • filename-100x88.jpg
    • filename-300x262.jpg
    • filename-556x198.jpg
    • filename-originalsize.jpg

    I am not always shown the 172X88 size in the media browser (sometimes I am) but also sometimes 88X88?

    I really want to understand what is going on here, and fix this as it's driving me mad!

    Thank you in advance.

  2. newsdevice
    Member
    Posted 2 years ago #

    I would suggest using Regenerate Thumbnails to make sure all the images have the right sizes you want: http://wordpress.org/extend/plugins/regenerate-thumbnails/

  3. matt-tyas
    Member
    Posted 2 years ago #

    Thank you for this. I will try that.

Topic Closed

This topic has been closed to new replies.

About this Topic