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
Check your theme's functions.php file for something like:
if ( ! isset( $content_width ) ) $content_width = 288;
tjphop
Member
Posted 4 months ago #
Thanks for your reply. Unfortunately, I've already tried that and there isn't anything there.
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 :).