-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Issue
The removal of the image sizes automatically generated when uploading an image done here makes the wordpress function image_get_intermediate_size()
always return the full size image. However, if the full size image is wider or higher than 2000px, Yoast SEO rejects it as an og:image. It would therefore be great, if the image size large
would not be cleared out. Or the function would at least have a filter.
Yoast SEO uses the image_get_intermediate_size()
function here.
How to reproduce it
Prerequisites: WordPress with Theme that uses Timmy and the Yoast SEO Plugin.
Create a post, navigate to the social section of Yoast SEO metabox and add a facebook image that is wider than 2000px. Visit the post (frontend) and inspect the source code. The meta property og:image is missing.
Then change the image to one that is smaller than 200px wide and inspect the source code again -> the meta property og:image is now here.