OpenSprites / OpenSprites-Origin

The original OpenSprites website, written in PHP. Discontinued - remains for historical reasons. See OpenSprites-Next for the new generation of Scratch resource sharing.
MIT License
19 stars 9 forks source link

Errored GIF upload isn't being displayed? #188

Closed towerofnix closed 8 years ago

towerofnix commented 9 years ago

I tried to upload a 3 MB GIF. After the upload request finished, the following object got logged to my console:

{
  ...
  results: [
    {
      hash: "",
      image_url: "N/A",
      message: "Sorry! Our servers encountered an error with your upload request. Make sure each individual file is less than 2MB (error code 1)",
      status: "error"
    }
  ]
  ...
}

However nothing outside of looking through an object in the console told me my asset upload had errored.

High-priority?

jamesd-uk commented 9 years ago

I'm guessing that along with the other upload errors we keep getting that this has something to do with size limits. For example, I can upload small images but not larger ones. Same with audio. I'll assign @MegaApuTurkUltra because he has the most experience with this.

towerofnix commented 9 years ago

I get why it doesn't upload, but we need to get a dialog to appear if the image doesn't upload properly

jamesd-uk commented 9 years ago

Pretty sure an error is displayed near the top of the page?

jamesd-uk commented 8 years ago

Merge with #199