Summary card with large image poorly crops images


#1

We’ve recently implemented twitter card sharing on our site (primarily using og tags, but also twitter when needed). On some of our articles, the image that’s displayed with the card is cropped so that it only shows the top portion of the image.

This is reproducible in the card validator:

  1. Navigate to https://cards-dev.twitter.com/validator
  2. Preview the card at http://jamanetwork.com/journals/jama/fullarticle/2569749

I believe that we’ve implemented the cards correctly per the documentation found at https://dev.twitter.com/cards/types/summary-large-image and https://dev.twitter.com/cards/getting-started#opengraph. What other options are available for specifying the dimensions of the image being displayed?


#2

Additional note, the original dimensions of the image are 300 x 356, so in this case it looks like the image is being scaled up and then cropped.


#3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.