Commit 3f452add authored by Nicolas Delaby's avatar Nicolas Delaby

Extend support of image Sizes by Preference

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20752 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 323d3e16
......@@ -96,6 +96,30 @@ class HtmlStylePreference:
'type' : 'string',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_nano_image_height',
'description' : 'The height for nano image. The unit is the pixel',
'type' : 'int',
'default' : 25,
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_nano_image_width',
'description' : 'The width for nano image. The unit is the pixel',
'type' : 'int',
'default' : 25,
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_micro_image_height',
'description' : 'The height for micro image. The unit is the pixel',
'type' : 'int',
'default' : 64,
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_micro_image_width',
'description' : 'The width for micro image. The unit is the pixel',
'type' : 'int',
'default' : 64,
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_thumbnail_image_height',
'description' : 'The height for thumbnail image.The unit is the pixel',
'type' : 'int',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment