WordPress.org

Support

Support » How-To and Troubleshooting » Can't set post thumbnails size — WP keeps using wrong size

Can't set post thumbnails size — WP keeps using wrong size

  • I’ve tried almost everything, and WordPress just won’t set the post thumbnail size to what I want. It always sets the size to the largest possible, even if I updated the Media settings, and I updated the code in functions.php as well:

    if (function_exists('add_theme_support'))
        add_theme_support('post-thumbnails')
        set_post_thumbnail_size(150, 90, true)
    }

    Despite the above code, when inserting new thumb/featured image, WP always uses the largest possible size (e.g. 640px width, instead of 150×90).

    I’m trying to use it as part of index.php with post excerpts.

Viewing 10 replies - 1 through 10 (of 10 total)
  • In excerpts, you are likely not pointing to the thumb(s), but are to the origial file(s), use ftp or your web host’s file manager to review the media folder’s files, i.e., some have an appended name such as ‘file-dimensions.imagetype’…they are the thumbs. Changing a setting as such will not change all the existing files…

    It does make “thumbs” but they’re much bigger than I want.

    Bump.

    Please provide a site link with a post that contains this issue (without such it will prove most difficult to assist you).

    I have almost the same problem, but my thumbnails are to small. They get resized.
    Link:
    http://www.dmjab.com/festival-maskerad/

    They gets resized from 300×300 to 126×126 px

    Where do I change this? :/

    BR Mattias

    Same issue here..
    I’ve set the thumbnail-size in functions.php but WP takes a totally diferent size, very much to large. I have no idea where WP this file-size takes from…

    esmi

    @esmi

    Forum Moderator

    As per the Forum Welcome, please post your own topic. Your problem – despite any similarity in symptoms – is likely to be completely different.

    Sorry, but this is exactly my problem. Maybe I didn’t get it clear enough, but it is like the first person described it, and so far this thread is not marked as ‘solved’..

    This is in my functions.php

    add_theme_support( 'post-thumbnails' );
    	set_post_thumbnail_size( 710, 170 );

    but my thumbnails are 1000px x 288px.

    esmi

    @esmi

    Forum Moderator

    Are you using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster?

    No? Then your problem – despite any similarity in symptoms – is likely to be completely different. So please help us to help you and post a new topic when we ask you to.

    ok, sorry. haven’t been here for a while.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Can't set post thumbnails size — WP keeps using wrong size’ is closed to new replies.