IATI / IATI-Standard-Website

IATI (about & guidance) website based on Django and Wagtail CMS
MIT License
6 stars 8 forks source link

Sharing a link from the site does not include a preview type image #747

Closed stevieflow closed 6 months ago

stevieflow commented 7 months ago

Sharing this link in an application such as Mattermost:

https://iatistandard.org/en/news/tag-piccolo-a-minitag-in-rome/

results in:

Screenshot from 2024-03-20 17-33-23

I don't know what the preview image should be, but it should be something?

Bjwebb commented 7 months ago

Looks like we've just got a double https:// for some reason:

<meta property="og:image" content="https://https://cdn.iatistandard.org/prod-iati-website/img/iati-share-social.png">

Looks like if will default to just the IATI logo, but that would be an improvement on broken: https://cdn.iatistandard.org/prod-iati-website/img/iati-share-social.png

stevieflow commented 7 months ago

Nice - thanks @Bjwebb

Yes, that's much better!

Please fix / deploy when you see fit

Bjwebb commented 6 months ago

This should be fixed now.