From fee1729fa67585b7bd545f75fa95e7580cc6ca8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=BCbner?= Date: Fri, 28 Apr 2017 16:14:42 +0200 Subject: [PATCH] Improve image filters configuration --- app/config/config.yml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/app/config/config.yml b/app/config/config.yml index 7d5f2de..bbee3cf 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -115,7 +115,9 @@ liip_imagine: web_path: ~ filter_sets: - model_min: + media: + data_loader: media + media_min: data_loader: media cache: ~ quality: 80 @@ -123,31 +125,24 @@ liip_imagine: filters: thumbnail: { size: [200, 200], mode: inset } background: { size: [250, 250], position: center, color: '#FFFFFF' } - model_large: + media_large: data_loader: media cache: ~ quality: 92 filters: - thumbnail: { size: [800, 600], mode: inset } - background: { size: [1100, 800], position: center, color: '#FFFFFF' } + thumbnail: { size: [840, 580], mode: inset } + background: { size: [900, 600], position: center, color: '#FFFFFF' } + rebrickable: data_loader: rebrickable - rebrickable_part_min: - quality: 80 - data_loader: rebrickable - cache: ~ - default_image: '/resources/images/unknown_image.png' - filters: - thumbnail: { size: [250, 250], mode: inset } - rebrickable_set_min: + rebrickable_min: quality: 80 data_loader: rebrickable default_image: '/resources/images/unknown_image.png' cache: ~ filters: - thumbnail: { size: [250, 200], mode: inset } - background: { size: [250, 200], position: center, color: '#FFFFFF' } - + thumbnail: { size: [200, 200], mode: inset } + background: { size: [250, 250], position: center, color: '#FFFFFF' } rebrickable_large: data_loader: rebrickable cache: ~