Forum
TF Social Plug in Invlaid content types
- TF Social
The plugin works and generates open graph tags. However, FB validation reports the image type if invalid. https://www.serr.biz/images/2021/Cover-_Local-SEO-tutorial-SEFS-Part-6-1080x608.jpg could not be processed as an image because it has an invalid content type. This is happen for all the pages on Serr.biz.
The one in questions is here: https://www.serr.biz/blog/428-what-are-sefs-in-local-seo.html I have checked the image, it is a valid jpg and loads without issues in the web page. I have read some other places that FB also wants to know if the url is secure, width, height and type. I added those to the plugin at line 194. $doc->setMetaData('og:image:secure_url', $uri->base() . $images->image_fulltext, $property); $doc->setMetaData('og:width', '1080',); $doc->setMetaData('og:height', '600',); $doc->setMetaData('og:image:type', 'image/jpeg',); However, FB still reports the same. I've also tried different sized images and well as a png. Same problem. Any ideas?