Photo chosen for card


For my site, how do I control which photo from a post is used in the card?


Hi Ali, it looks like you are using Yoast for Twitter Cards. If that’s the case, you may need to reach out to their technical support. The image shown in a card is defined with a single ‘twitter:image:src’ meta tag in the page source code, but they are actually including one of these tags for every photo. If we find multiple, then we use the last in the series. I have not used Yoast, but I assume their UI would let you define which one to use per post.