Define thumbnail sizes in initial data

This commit is contained in:
Alexandre Iooss 2021-10-12 08:58:01 +02:00
parent 65692901b8
commit 211b23d339

View file

@ -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
}
}
]