Forums

Featured Image won't work (4 posts)

  1. svaldesm
    Member
    Posted 1 year ago #

    Hey everybody,

    I have strange problems using this function of WP.
    I don't have troubles activating it, it is working and I can use it.
    I first upload a picture to the post and put it. That's ok.
    I have set up a default thumbnail size of 260x60, which are automatically created. Every time I upload a photo, the thumbnail size appears correctly, in fact I can add it to the post and the size is correct.

    The weird thing is that when I click on "Set feature Image", pick the "thumbnail size" and click on "add as feature image", it won't add the thumbnail size but the full size.
    The only solution is to manually crop it with the WP editor, BUT this is also weird because the default image to edit is a strange size, it's never the one that I selected, so when I resize and then crop, what I though I had selected was something totally different, and sometimes even a black space (which means I was cropping "outside" the picture).

    Any help would be really appreciated, thanks!

  2. Chip Bennett
    Member
    Posted 1 year ago #

    The feature is behaving as intended. Selecting a "featured image" doesn't select an image size, but rather the image itself.

    The call to the_post_thumbnail( $size ) in your Theme template files determines which size of the image is output.

  3. svaldesm
    Member
    Posted 1 year ago #

    OK I get it, in fact it is working now.
    The thing is, what if I want to change the piece of image that the thumbnail is showing? The only way to do it is manually I think, right?

  4. Chip Bennett
    Member
    Posted 1 year ago #

    The thing is, what if I want to change the piece of image that the thumbnail is showing? The only way to do it is manually I think, right?

    I believe so, yes.

Topic Closed

This topic has been closed to new replies.

About this Topic