Dockerized Responsive image resizer and optimizer service that processes images on the fly.
- tag: tag optimizer. (example:
thumb
) - q: export image quality
- type: export image resizing type.
crop
|resize
|force_resize
- size: export image size. (pattern:
width
xheight
)
-
if you send
tag
parameter, skipq
,type
andsize
parameter -
if you want send request by
get
method, you should addurl
query parameter in request and if you want send request bypost
method you should setfile
key in form parameter -
if you want send request by
post
method, you can also setq
,type
andsize
parameter in form
http://127.0.0.1:5000/?q=70&type=crop&size=200x250&url=https://www.w3schools.com/html/pulpitrock.jpg
http://127.0.0.1:5000/?tag=thumb&url=https://www.w3schools.com/html/pulpitrock.jpg
http://127.0.0.1:5000/info?url=https://www.w3schools.com/html/pulpitrock.jpg