Avatar uploads are broken
Describe the bug Attempting to upload an avatar, PNG or JPG, results in an endless spinner where the image should appear.
To Reproduce Steps to reproduce the behavior:
- Upload an avatar in PNG or JPG format
Expected behavior The uploaded avatar should appear in the UI wherever the user's avatar is displayed.
Actual behavior A spinning placeholder or empty avatar is displayed.
Desktop (please complete the following information):
- OS: Linux
- Browser: Firefox
- Version: 139.0.4
Additional context Thank you for developing Coindrop!
I've noticed this as well
+1
Not just uploads, displaying avatars too.
+1
It's working fine for me... is this still an issue for anyone?
It's working now. Thx.
I believe this was caused by Vercel limiting number of image optimizations with Next.js next/image component. The network request for fetching avatar image was returning 402 Payment Required response with a specific error code relating to this. After setting the unoptimized property on image component it loads without error now. Thanks for the reports. Closing this issue as resolved.