Skip to content
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

Fix tweet images not appearing #717

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ericshively
Copy link

@ericshively ericshively commented May 29, 2024

Currently your website blog in prod. has the embedded tweets missing their images.

Exhibit A: https://leerob.io/blog/using-nextjs

Following the standard react-tweet library documentation:
https://react-tweet.vercel.app/next#adding-nextimage

I've added the minimal missing lines to fix this.

Cloned the repo, added this commit, verified my local instance was pulling the images now, albeit with a little awkward shift via <Image fill />

Copy link

vercel bot commented May 29, 2024

@ericshively is attempting to deploy a commit to the leerob-site Team on Vercel.

A member of the Team first needs to authorize it.

@leerob
Copy link
Owner

leerob commented May 29, 2024

CleanShot 2024-05-28 at 20 32 47@2x

This seems to be working for me. Are you seeing something differently?

@ericshively
Copy link
Author

Screen Shot 2024-05-28 at 9 14 34 PM

Oh, only checked Firefox. It seems to be working on Chrome and Safari, desktop and mobile, but I turned off my extensions on Firefox and my screenshot seems to reflect Firefox desktop and mobile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants