Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-09-29 | 1.5 kB | |
v1.6.0 source code.tar.gz | 2025-09-29 | 4.2 MB | |
v1.6.0 source code.zip | 2025-09-29 | 4.6 MB | |
Totals: 3 Items | 8.9 MB | 0 |
POST Upload Support
imagor v1.6.0 now supports POST uploads for processing images directly. This feature allows you to upload an image file and apply the same transformations available through the standard endpoint.
Upload functionality is an opt-in feature designed for internal use where imagor serves as a backend service in trusted environments with proper access controls, not for public-facing endpoints. Usage:
:::bash
docker run -p 8000:8000 shumc/imagor:1.6.0 -imagor-unsafe -upload-loader-enable
Upload an image using POST request to any imagor endpoint. The URL path defines the image operations to apply:
:::bash
# Upload and resize to 300x200
curl -X POST -F "image=@photo.jpg" http://localhost:8000/unsafe/300x200/
# Upload with filters applied
curl -X POST -F "image=@photo.jpg" \
http://localhost:8000/unsafe/fit-in/400x300/filters:quality(80):format(webp)/
What's Changed
- feat(fanout): release mechanism for fanout reader by @cshum in https://github.com/cshum/imagor/pull/616
- fix(s3): content length for put object by @cshum in https://github.com/cshum/imagor/pull/618
- feat: POST Upload Endpoint and Upload Form by @cshum in https://github.com/cshum/imagor/pull/617
Full Changelog: https://github.com/cshum/imagor/compare/v1.5.18...v1.6.0