framework icon indicating copy to clipboard operation
framework copied to clipboard

images with .jpeg gives 404: Not Found error

Open DarkKnight1992 opened this issue 9 years ago • 2 comments

Getting an error trying to get jpeg images. Since we are converting the image from base64 but even if we hardcode this to be .jpg instead of .jpeg will cause further problems if users upload jpeg images as well.

I have tested when i change the same file name to jpg i can get the image but .jpeg give 404 all the time

DarkKnight1992 avatar Oct 16 '17 21:10 DarkKnight1992

Hi, I don't know how, but .jpeg was missing in acceptable list. I have added it. Easy fix for the current version, just edit config:

static-accepts-custom        : .jpeg

I want to publish a new version of Total.js this week.

petersirka avatar Oct 17 '17 06:10 petersirka

thanks for the quick response.

DarkKnight1992 avatar Oct 17 '17 08:10 DarkKnight1992