Cropped social media image resolution is too high for twitter card
-
I currently have The SEO Framework version 4.2.8 installed on a WordPress site. When choosing a social media image: Post > SEO Settings > Social > Social Image URL, I am prompted to crop images with the wrong ratio for social media. But when that image is cropped, it isn’t downsized in the Twitter meta information and so the cards will not display the image. Twitter card images have to be 800px by 418px.
For example, (1) I upload a base image with dimensions 2560 x 1707 pixels. (2) I am prompted to crop to the right aspect ratio. (3) I select the crop and crop the image to 2559 x 1342 pixels (1.906 aspect ratio, the correct one for Twitter).
But Twitter card images have a maximum width. When this image is embedded into my twitter meta tags:
<meta?name="twitter:image"?content=".../image-scaled.webp" />
the scaled image that is chosen is 2559 x 1342, not 800px by 418px.Is this expected behavior? What can I do to fix it?
- The topic ‘Cropped social media image resolution is too high for twitter card’ is closed to new replies.