From aeefd1959aad3b80a0fe02083edbd5ebfb09510b Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 18 Sep 2016 19:34:56 +0200 Subject: Introduce resizing thresholds This commit brings deeper changes to the image sizes concept. The goal was to allow more flexible input in resizing vs. supplied files mixed mode. Instead of hard flags the decision whether to resize or copy an image is now based on threshold. While not 100% universal, it brings more control regarding image size bounds. Also brings a level of tolerance for specific errors (off-by-one exports). Image sizes' rules are a bit simpler, hopefully easier to understand. A lot can be achieved by combination of thresholds. --- templates/classic/default.xml | 99 ++++++++++++++++++++++--------------------- templates/fluid/fluid.xml | 6 +-- 2 files changed, 53 insertions(+), 52 deletions(-) (limited to 'templates') diff --git a/templates/classic/default.xml b/templates/classic/default.xml index 8cf709e..6db84ee 100644 --- a/templates/classic/default.xml +++ b/templates/classic/default.xml @@ -3,59 +3,69 @@ - + + + - + + + + + + - - + it's independent now and considered more like a bigger image size for + large screens. --> - - - - + + + + + + - - - - - - - - - - + - - - - - - - diff --git a/templates/fluid/fluid.xml b/templates/fluid/fluid.xml index b4e528b..49e8547 100644 --- a/templates/fluid/fluid.xml +++ b/templates/fluid/fluid.xml @@ -6,15 +6,15 @@ - + - + @@ -26,8 +26,8 @@ - + -- cgit v1.2.3