Forums

Can't set post thumbnails size -- WP keeps using wrong size (5 posts)

  1. jim2k
    Member
    Posted 5 months ago #

    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 150x90).

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

  2. SwansonPhotos
    Member
    Posted 5 months ago #

    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...

  3. jim2k
    Member
    Posted 5 months ago #

    It does make "thumbs" but they're much bigger than I want.

  4. jim2k
    Member
    Posted 5 months ago #

    Bump.

  5. SwansonPhotos
    Member
    Posted 5 months ago #

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

Reply

You must log in to post.

About this Topic