From e90f0753c56762965d4d03e0a71770348fab415f Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Thu, 2 Apr 2015 17:10:51 +0100 Subject: [PATCH] Some tweaks based on feedback from @tomdyson --- docs/images/advanced_topics.rst | 2 +- docs/images/using_in_templates.rst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/images/advanced_topics.rst b/docs/images/advanced_topics.rst index 522c44f26..e879818d7 100644 --- a/docs/images/advanced_topics.rst +++ b/docs/images/advanced_topics.rst @@ -10,7 +10,7 @@ GIFs. If you need animated GIFs in your site, install `Wand `_. When Wand is installed, Wagtail will automatically start using it for resizing -GIF files, and would continue to resize other images with Pillow. +GIF files, and will continue to resize other images with Pillow. .. _image_feature_detection: diff --git a/docs/images/using_in_templates.rst b/docs/images/using_in_templates.rst index eb2a93fba..29399953a 100644 --- a/docs/images/using_in_templates.rst +++ b/docs/images/using_in_templates.rst @@ -43,7 +43,7 @@ The available resizing methods are: Fit **within** the given dimensions. - The longest edge will be reduced to the equivalent dimension size defined. e.g A portrait image of width 1000, height 2000, treated with the ``max`` dimensions ``1000x500`` (landscape) would result in the image shrunk so the *height* was 500 pixels and the width 250. + The longest edge will be reduced to the equivalent dimension size defined. For example, a portrait image of width 1000, height 2000, treated with the ``max`` dimensions ``1000x500`` (landscape) would result in the image shrunk so the *height* was 500 pixels and the width 250. ``min`` (takes two dimensions) @@ -54,7 +54,7 @@ The available resizing methods are: **Cover** the given dimensions. - This may result in an image slightly **larger** than the dimensions you specify. e.g A square image of width 2000, height 2000, treated with the ``min`` dimensions ``500x200`` (landscape) would have it's height and width changed to 500, i.e matching the width required, but greater than the height. + This may result in an image slightly **larger** than the dimensions you specify. e.g A square image of width 2000, height 2000, treated with the ``min`` dimensions ``500x200`` (landscape) would have its height and width changed to 500, i.e matching the width required, but greater than the height. ``width`` (takes one dimension) @@ -119,7 +119,7 @@ The available resizing methods are: .. Note:: - Wagtail does not allow deforming or stretching images. Image dimension ratios will always be kept. Wagtail also *does not support upscaling*. Small images forced to appear at larger sizes will "max out" at their their native dimensions. + Wagtail does not allow deforming or stretching images. Image dimension ratios will always be kept. Wagtail also *does not support upscaling*. Small images forced to appear at larger sizes will "max out" at their native dimensions. .. _image_tag_alt: