Closed zero-24 closed 4 years ago
Would it make sense to add the mime type too?
og:image:type ? @coolcat-creations @conconnl ?
Here is a demo package that includes the changes of this PR for you to test @coolcat-creations
Also the latest commit is already included in the package and deployed.
I have checked the output on one of our test sites.
This is the image in the article:
This was the output for that page:
As we can conclude the OG Metadata shows the correct image size and image type.
Thanks @conconnl merging now.
@coolcat-creations please confirm that this is what you had in mind here: https://github.com/joomla-projects/plg_content_joomlarrssb/issues/14
https://www.php.net/manual/en/function.getimagesize.php https://ogp.me/#structured