New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twitter Card Images for Articles Are Occasionally Positioned Inconsistently #3802
Comments
I spoke with @healeycodes who said it was cool to share a bit of info here... Steps to reproduce the behavior
Expected behavior Screenshots Here's a picture of the left-aligned social image: Here's another picture of a separate post by the same author with a similar cover image which centered correctly: This post was originally left-aligned too - https://dev.to/healeycodes/my-experience-with-pair-programming-4c0a but I used a manual override to fix it. Note: I don't think it necessarily only happens to this author; but, these are known examples. If I see it happen to another author, I'll report back. |
Just found another example of this here: |
Have the same happening to my articles. They are aligned to right side instead of center. I guess there are two options to that:
The second one would probably much easier to implement. |
Another (possibly easier) option is to allow user to upload twitter card image. The aspect ratio that you use for headers on dev.to is different than most of the social media images to that is why it is appearing odd. |
Seems like all the social media platforms (Twitter, Facebook, LinkedIn) use 19:10 So maybe dev.to should allow 19:10 for future posts? |
Having the same issue on one of my recent posts. Personally I would love to see support for additional meta tags in the front matter. That way you could actually have a different cover image and social image. Would be nice to see support for:
|
Having the same issue on my post published today (https://dev.to/viclafouch/build-a-complete-modal-component-with-react-hooks-2fk8) Preview on Linkedin |
Update: I found a social media manager (e-clincher) that allows me to extract images from a post, stuff I post with that manager doesn't fit 100% either, but at least its centered now. |
Anything we can do here? |
@jessleenyc any thoughts on this feature request? Do you think this should be labelled as a potential RFC? |
Forem team needs to investigate:
|
Since this issue has gone stale I am going to close it. If anyone would like to still implement this feature let me know and we can turn this issue into a discussion |
I wanted to reopen this one as it's something I hear occasionally reported. |
Describe the bug
Sometimes, twitter card images aren't centered properly when the social card unfurls. This is likely happening on Twitter's end but we can also fix this if we crop the images ourselves through cloudinary.
The text was updated successfully, but these errors were encountered: