mirror of
https://github.com/FAUSheppy/python-flask-picture-factory
synced 2025-12-06 07:01:37 +01:00
update readme with new url parameter options
This commit is contained in:
@@ -25,5 +25,11 @@ Retrive the images with these URLs:
|
|||||||
|
|
||||||
You may omitt any of the parameters. Not giving any parameters will return the original image. You must always name the original picture in your URL, even if you want a different encoding.
|
You may omitt any of the parameters. Not giving any parameters will return the original image. You must always name the original picture in your URL, even if you want a different encoding.
|
||||||
|
|
||||||
|
# Other possible URL-parameters:
|
||||||
|
In addition to *encoding*, *scaleX* and *scaleY* you may also use the following parameters:
|
||||||
|
|
||||||
|
force=True/False -> apply the x/y-values as given, cut off image when necessary
|
||||||
|
cacheTimeout=SECONDS -> add a cache timeout header witht the given value to the response
|
||||||
|
|
||||||
# Futher explanation
|
# Futher explanation
|
||||||
I wrote a small article with some more example on how to best use this to optimize your website -if you want to use it for that: [Medium](https://medium.com/anti-clickbait-coalition/responsive-image-factory-f1ed6e61d13c)
|
I wrote a small article with some more example on how to best use this to optimize your website -if you want to use it for that: [Medium](https://medium.com/anti-clickbait-coalition/responsive-image-factory-f1ed6e61d13c)
|
||||||
|
|||||||
Reference in New Issue
Block a user