Twitter card image rendering

Hi everyone, 

I am trying to get twitter cards to render on posts with an image from the public facing site.
Does anyone know how to do this? 

I found this online article but I can’t seem to get the meta to work… 
https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started.html

Many thanks, 

Matt