jimmynicol/image-resizer

not valid image format

Closed this issue · 2 comments

I always get something like this:

GET /h50/images/logo.png 500 1012.759 ms - -
[resizer] new stream created!
[resizer] not valid image format

Well firstly this is an unhelpful error in this situation sorry. My suspicion is that you are requesting an S3 sourced image without the appropriate configuration in place.

If you want to view images on your local machine you need to set the external source correctly. Firstly you would set the LOCAL_FILE_PATH variable to a folder locally (do this via your .env file). The for your image requests:

/h50-elocal/path/to/image.png

I am closing due to inactivity, please open again if this is still an issue.