nodejs-aws-lambda-image-resizer icon indicating copy to clipboard operation
nodejs-aws-lambda-image-resizer copied to clipboard

Unsupported MIME type: application/octet-stream. Supported types: image/jpeg, image/gif, image/png, image/svg+xml, image/tiff, image/bmp

Open thevisionhouse opened this issue 3 years ago • 2 comments

I think it wont read the file from key properly.

I have the image in its location but every time this happens

thevisionhouse avatar Mar 08 '22 08:03 thevisionhouse

Hey @thevisionhouse, appreciate if you can share more details

MuhammadReda avatar Mar 08 '22 08:03 MuhammadReda

I mean if the image is in the root of bucket then its working fine. But if the image is in nested folder it can read the image but shows error of mime type.

https://<API-URL>/100x100/auction/15/1644492516305.png

Here the image is there but it shows mime error. But if the same image I am putting in root of the bucket it works.

thevisionhouse avatar Mar 08 '22 19:03 thevisionhouse