Specify image size for twitter cards?
-
I often post pictures to my blog just to share. For example:
http://calvinpowers.com/oak-tree-lee-farm-park/Problem is, these images are typically way to big for social media posts.
For Facebook, there is a filter_wpseo_opengraph_image_size funtion I can add to my functions.php file which lets me tell Yoast to use the “large” size version of the image in the og:image tag.
Is there a similar function I can add to tell Yoast to specify which image size to use in the twitter card image tag?
Yes, I could resize the original photo down to an acceptable size for Twitter. But it’s a pain to do on my phone. It works so well on facebook it’s a shame there’s not a way to do it for twitter too!
The page I need help with: [log in to see the link]
The topic ‘Specify image size for twitter cards?’ is closed to new replies.