Forums

Why does WordPress resize my featured image to 288px? (4 posts)

  1. tjphop
    Member
    Posted 4 months ago #

    Hello. I have created a theme and cannot understand why wordpress resizes my image of height 300px to a height of 288px when I use it as a featured image, even though I select 'full size'.

    You can see the problem here (the image of a farmer with a laptop)

    Any help would be much appreciated; I've been racking my brains but can't find the problem.

    Many thanks,

    Tom

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    Check your theme's functions.php file for something like:

    if ( ! isset( $content_width ) ) $content_width = 288;
  3. tjphop
    Member
    Posted 4 months ago #

    Thanks for your reply. Unfortunately, I've already tried that and there isn't anything there.

  4. tjphop
    Member
    Posted 4 months ago #

    I had a look again, and there was someting setting all 'header' images to 288. I didn't realise this applied to featured images, but apparently it does. Thanks :).

Reply

You must log in to post.

About this Topic