Sheezy-Art/sheezy-hub

[BUG] trying to update the main file of a gif post will result in an infinite "uploading file" loading if the dimensions are bigger than 1000px

coolmanatee opened this issue · 0 comments

Describe the Issue
I have post that is a gif with 1362x1400 of dimensions and when i try to change the main file to another gif file of the same dimensions it gets stuck on a infinite "uploading file..." loading, trying to clean the cache or compresss the file doesnt seem to work but when i tried a version with dimensions bellow 1000px it got uploaded without any issues

To Reproduce
Steps to reproduce the behaviour:

  1. Go to a post that is a gif format and click to edit the post
  2. Upload a new gif file of dimensions that are bigger than 1000px and confirm it
  3. See that the "uploading the file" box doesnt change or disappear even after waiting some time

Expected Behaviour
The file should have be uploaded without any issues if its the same dimensions as the original file that was submited on the post

Device

  • Type: Desktop PC
  • OS: Windows
  • Browser: Opera; Firefox
  • Version: 109.0.5097.80(opera); 126.0 (64-bits)(firefox)