Image not showing even if validator is all ok


#1

Some help with this one? My web site is on Joomla and i`m using K2 Component.My robot.txt is all set. The image dimension is: 330px 200px

Link: http://www.medium.edu.mk/srednoskolski-medium/jas-mislam-vaka/item/2300-zhelbata-za-zaminuvanje-najbolno-sekjavanje-za-srednoshkolskite-denovi

Card Validator: http://www.medium.edu.mk/card-validator.jpg


#2

You have spaces inside your Twitter card meta tags (twitter: card should be twitter:card etc)

The correct image tag should be twitter:image not twitter:image:src.

The summary card supports images with a 1:1 aspect ratio. Yours is 3:2.

Your robots.txt file may not follow the correct order of precedence of rules, check Google’s documentation - if in doubt, set Twitterbot to Disallow: not Disallow: *.


#3

Yes it works, tnx Andy

One peace of advice if you can?
My code is: $document-> setMetaData (‘twitter:image’, ‘http://medium.edu.mk/images/logo/logo.png’);
Which leads to posting every post with my logo, is there a way to insert code for unique image of every post?


#4

That’s a PHP/Joomla question more than a Twitter one. You’re welcome to use different images for different pages, but you’d have to decide how to implement that logic on a per-page basis.


#5

tnx


#6

My problem is, I have entered the meta tags, initially the summary card with large image showed, validation all ok, but as soon as the URL https://pbs.twimg.com/card_img/831174088148258816/kAUb3q5D?format=png&name=386x202 appeared on the scene, I keep getting a 404 error.
The validation is still OK and still shows the card.
Here are the metatags I entered:

> <meta name="twitter:card" content="summary_large_image">
> <meta name="twitter:site" content="@RadioVlNationaa">
> <meta name="twitter:creator" content="@RadioVlNationaa">
> <meta name="twitter:title" content="Radio Vlaanderen Nationaal">
> <meta name="twitter:description" content="Radio Vlaanderen Nationaal. De radio van en voor Vlaams-nationalisten, met steun aan de Boeren uit Zuid-Afrika.">
> <meta name="twitter:image:src" content="https://www.vlaamseradio.tk/img/twittercard.png">

Is anyone able to help, please?
Thank you in advance.