Processing images from other container
jlvdh opened this issue · comments
Is it possible to process images that are located in another container within the same docker-compose file?
I've tried something like this:
http://localhost:9001/crop?width=500&height=200&gravity=smart&url=http://storage-service:3020/storage/o/public/avatars/9101d3ad-818b-4d48-8a6e-8e67e6242093/peacock-mantis-shrimp-shutterstock.jpg
But I'm getting
{ "message": "Unvalid image URL", "status": 400 }
Seems like any urls that are not parsing, like the docker url is not accepted here:
Line 28 in b6abf8e
This is solved: For anyone running into this issue, I had a newline character hidden in the url which caused the error 🦆