pull/3053/head
Matt Westcott 2016-10-05 16:03:54 +01:00
rodzic 7ec734e925
commit 534b5d1fd9
3 zmienionych plików z 12 dodań i 0 usunięć

Wyświetl plik

@ -5,6 +5,7 @@ Changelog
~~~~~~~~~~~~~~~~
* Elasticsearch 2 support (Karl Hobley)
* Added parameters to image tag to specify file type and JPEG compression level (Karl Hobley)
* Added support for AWS CloudFront in frontend cache invalidation module (Rob Moorman)
* Unpublishing a page now gives the option to unpublish subpages too (Jordi Joan)
* The ``|embed`` filter has been converted into a templatetag ``{% embed %}`` (Janneke Janssen)

Wyświetl plik

@ -19,6 +19,12 @@ Wagtail now supports Elasticsearch 2. Note that you need to change backend in ``
See: :ref:`wagtailsearch_backends_elasticsearch`
New image tag options for file type and JPEG compression level
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The ``{% image %}`` tag now supports extra parameters for specifying the image file type and JPEG compression level on a per-tag basis. See :ref:`output_image_format` and :ref:`jpeg_image_quality`. This feature was developed by Karl Hobley.
AWS CloudFront support added to cache invalidation module
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Wyświetl plik

@ -198,6 +198,8 @@ Wagtail comes with three pre-defined image formats, but more can be defined in P
For more information about image formats, including creating your own, see :ref:`rich_text_image_formats`
.. _output_image_format:
Output image format
-------------------
@ -218,6 +220,9 @@ For example, to make the tag always convert the image to a JPEG, use ``format-jp
You may also use ``format-png`` or ``format-gif``.
.. _jpeg_image_quality:
JPEG image quality
------------------