WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jim2k
    Member
    Posted 2 years 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. Pioneer Valley Web Design
    Member
    Posted 2 years 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 2 years ago #

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

  4. jim2k
    Member
    Posted 2 years ago #

    Bump.

  5. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

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

  6. MEmilsson
    Member
    Posted 1 year ago #

    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 300x300 to 126x126 px

    Where do I change this? :/

    BR Mattias

  7. vinuel
    Member
    Posted 1 year ago #

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

  8. esmi
    Forum Moderator
    Posted 1 year ago #

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

  9. vinuel
    Member
    Posted 1 year ago #

    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.

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

  11. vinuel
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic