admin管理员组文章数量:1332352
I have a post with a featured image (size 736x212). The post url is this. I shared my post on twitter, but the tweet doesn't show the image (if you want to check click here). What could be the problem?
I have a post with a featured image (size 736x212). The post url is this. I shared my post on twitter, but the tweet doesn't show the image (if you want to check click here). What could be the problem?
Share Improve this question edited Sep 22, 2019 at 21:54 fuxia♦ 107k38 gold badges255 silver badges459 bronze badges asked Dec 4, 2018 at 9:25 Federico TaschinFederico Taschin 1114 bronze badges2 Answers
Reset to default 1Twitter has some limitations upon file extensions. I see that you're passing on some variables within your meta tag.
https://developer.twitter/en/docs/tweets/optimize-with-cards/overview/markup.html
URL of image to use in the card. Images must be less than 5MB in size. JPG, PNG, WEBP and GIF formats are supported. Only the first frame of an animated GIF will be used. SVG is not supported.
Try removing the variables within the image url, it could possibly block twitter from thinking it's a valid image. You could also check the filesize of your image.
Checkout Wordpress plugin called SVG Feature Image on GitHub.
This plugin is written to convert the SVG featured images to a socially sharable thumbnail images on the fly via Facebook & Twitter.
This is a newly developed plugin & currently under source code review with Wordpress. Meanwhile checkout the project on GitHub.
It's completely opensource and free.
本文标签: post thumbnailsSVG Featured image not shown in twitter
版权声明:本文标题:post thumbnails - SVG Featured image not shown in twitter 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742321700a2452919.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论