Gallery upload error text incorrect
needs more information
Skairu
When uploading an image to the photos gallery through the website, if the resolution exceeds the allowed amount, the error prompt will state it is a file size issue instead of resolution.
Log In
Nyx - (API + DevOps)
needs more information
The only places this is returned in the API is explicitly from checking the file size. If you are still certain this is an actual error, please provide an example image.
Skairu
Nyx - (API + DevOps): I've just tried it again at the time of this post. I can verify that this image yields the error mentioned. I'm also uploading this as a photo, not an icon, so the error message is a bit confusing there too.
Edit: Less modified version compared to the attached file: https://i.imgur.com/pXy8ceL.jpeg
Nyx - (API + DevOps)
Skairu: Thanks, I will check this out in a moment. The duplicate error message is likely an error on my part when creating the profile picture api code, as it shares the same backing as icons for the most part.
Nyx - (API + DevOps)
Skairu: Actually, I just realized why this is happening before I even saved your picture. The image gets sent through the cropper during the upload process, even if you don't touch any of the controls. Once you move onto the next stage of the uploading process, the cropper will duplicate the image, applying the needed transformations, which in this case is none, but is likely resulting in a much higher-sized image buffer being sent to the API.
I'll create a bug ticket for this internally, but as a workaround for the moment, you should be able to downsize your image a bit below 4k to get through the issue.
Thanks for the help in finding a super weird edge case!
Skairu
Nyx - (API + DevOps): Thanks! Resizing the image before upload as a workaround also seems to work.