Domain whitelisted for summary_large_image card but image not showing in the validator


#1

*.fahey-inc6461.shopnow.link is whitelisted for summary_large_image card but the validator doesn’t show the image. Example link:
http://fahey-inc6461.shopnow.link/1bb7acf3-b964-4d71-898c-6f441d297156/twitter

Log:

INFO:  Page fetched successfully
INFO:  9 metatags were found
INFO:  twitter:card = summary_large_image tag found
INFO:  Card loaded successfully

Notes:

  • There is no robots.txt
  • Image dimension is 1200px x 630px
  • Image size is 730 KB

Domain whitelisted for summary_large_image card but image not for other type cards
#2

Solved this.

The images had a scheme-relative URL (starting with // instead of http:// or https://) which is a perfectly valid URL but Twitter doesn’t recognize it as such.

Where do I file a bug for this?


#3

Thanks, we’ll definitely take note of this. Unfortunately right now our Cards markup requires complete URLs including the protocol prefix.


#4

I’m also having this exact same problem.

Protocol Relative URL’s are a very common way for many website hosts to force HTTPS on an entire site.


#5

Understand - simply by including a valid protocol in the cards metadata, you should find that things work OK with the validator, however.


#6

The problem is that many web hosts force Protocol Relative URL’s when
enforcing HTTPS for the entire site.


#7

I am having the same issue here too. Have recently moved my site to https and now some images are not displaying correctly, even through it shows my domain as white listed for large image cards.