diff options
author | weronka <v.terpilovska@gmail.com> | 2017-02-02 15:12:18 +0100 |
---|---|---|
committer | weronka <v.terpilovska@gmail.com> | 2017-03-14 12:47:19 +0100 |
commit | 6c7d62f2c2fc1078d7b52028fecdddf4265c27c4 (patch) | |
tree | 90e80996324f6bcf837a45ae57e14f28bab85f14 /saleor/settings.py | |
parent | 928d33511236b33634ba05e416849239b15647dd (diff) | |
download | saleor-frontend-6c7d62f2c2fc1078d7b52028fecdddf4265c27c4.tar.gz saleor-frontend-6c7d62f2c2fc1078d7b52028fecdddf4265c27c4.tar.bz2 saleor-frontend-6c7d62f2c2fc1078d7b52028fecdddf4265c27c4.zip |
Add new crop sizes, fix product images in storefront Django views
Diffstat (limited to 'saleor/settings.py')
-rw-r--r-- | saleor/settings.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/saleor/settings.py b/saleor/settings.py index 0e56c310..0485d90c 100644 --- a/saleor/settings.py +++ b/saleor/settings.py @@ -305,10 +305,13 @@ VERSATILEIMAGEFIELD_RENDITION_KEY_SETS = { 'defaults': [ ('list_view', 'crop__100x100'), ('dashboard', 'crop__400x400'), - ('product_page_mobile', 'crop__680x680'), - ('product_page_big', 'crop__750x750'), - ('product_page_thumb', 'crop__280x280')]} - + ('product_gallery', 'crop__540x540'), + ('product_gallery_2x', 'crop__1080x1080'), + ('product_small', 'crop__60x60'), + ('product_small_2x', 'crop__120x120'), + ('product_list', 'crop__255x255'), + ('product_list_2x', 'crop__510x510')]} + VERSATILEIMAGEFIELD_SETTINGS = { # Images should be pre-generated on Production environment 'create_images_on_demand': ast.literal_eval( |