acmucsd/membership-portal-ui-v2

GIFs don't load on production and test deploy leaderboard

Closed this issue · 1 comments

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

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