From 211b23d339c2a8157b79796f353cc04064bf2cb1 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 12 Oct 2021 08:58:01 +0200 Subject: [PATCH] Define thumbnail sizes in initial data --- photo21/fixtures/initial.json | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/photo21/fixtures/initial.json b/photo21/fixtures/initial.json index 62ad580..6a3f0a0 100644 --- a/photo21/fixtures/initial.json +++ b/photo21/fixtures/initial.json @@ -6,5 +6,53 @@ "domain": "photos.crans.org", "name": "Serveur photos" } + }, + { + "model": "photologue.photosize", + "pk": 1, + "fields": { + "name": "admin_thumbnail", + "width": 100, + "height": 75, + "quality": 70, + "upscale": false, + "crop": true, + "pre_cache": true, + "increment_count": false, + "effect": null, + "watermark": null + } + }, + { + "model": "photologue.photosize", + "pk": 2, + "fields": { + "name": "thumbnail", + "width": 250, + "height": 180, + "quality": 70, + "upscale": false, + "crop": true, + "pre_cache": true, + "increment_count": false, + "effect": null, + "watermark": null + } + }, + { + "model": "photologue.photosize", + "pk": 3, + "fields": { + "name": "display", + "width": 1980, + "height": 0, + "quality": 70, + "upscale": false, + "crop": false, + "pre_cache": true, + "increment_count": true, + "effect": null, + "watermark": null + } } ] \ No newline at end of file