Define thumbnail sizes in initial data
This commit is contained in:
parent
65692901b8
commit
211b23d339
1 changed files with 48 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue