Document how to chain image operations in the image serve view (ref #908)

pull/3053/head
Matt Westcott 2016-10-05 14:55:31 +01:00
rodzic 2a6f908972
commit 7ec734e925
1 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -75,6 +75,16 @@ And here's an example of this being used in a view:
'image_url': generate_image_url(image, 'fill-100x100')
})
Image operations can be chained by joining them with a ``|`` character:
.. code-block:: python
return render(request, 'display_image.html', {
'image_url': generate_image_url(image, 'fill-100x100|jpegquality-40')
})
Advanced configuration
======================