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

GIFs don't load on production and test deploy leaderboard #60

Closed
trevorkw7 opened this issue Aug 12, 2023 · 1 comment · Fixed by #72
Closed

GIFs don't load on production and test deploy leaderboard #60

trevorkw7 opened this issue Aug 12, 2023 · 1 comment · Fixed by #72
Assignees
Labels
Bug Something isn't working High Priority

Comments

@trevorkw7
Copy link
Contributor

trevorkw7 commented Aug 12, 2023

Issue

Although GIFs in the localhost leaderboard load properly, once deployed to production or in the Vercel preview.

Troubleshooting observations

  • When the AWS S3 bucket holding the image is loaded through the /_next/image for image optimization and resizing, it returns the following error:
image
@trevorkw7 trevorkw7 added Bug Something isn't working High Priority labels Aug 12, 2023
@SheepTester
Copy link
Member

vercel/next.js#34310 had a similar issue and suggests that the issue is with the deployment not NextJS. Is there a log with more details about the error?

I guess if the website is hosted on Vercel, they might use a different image optimizer than on localhost. Vercel's documentation says they don't support .gif, but unsupported formats should be returned as-is

@raymosun raymosun self-assigned this Sep 21, 2023
@raymosun raymosun linked a pull request Sep 21, 2023 that will close this issue
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working High Priority
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants