Commit d2d54965 authored by Nicolas Delaby's avatar Nicolas Delaby

Extend PropertySheet to handle Size Images. works done by Thibaut Deheunynck

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20003 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 69176590
...@@ -96,4 +96,79 @@ class HtmlStylePreference: ...@@ -96,4 +96,79 @@ class HtmlStylePreference:
'type' : 'string', 'type' : 'string',
'preference' : 1, 'preference' : 1,
'mode' : 'w' }, 'mode' : 'w' },
) { 'id' : 'preferred_thumbnail_image_height',
'description' : 'The height for thumbnail image.The unit is the pixel',
'type' : 'int',
'default' : '128',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_thumbnail_image_width',
'description' : 'The width for thumbnail image.The unit is the pixel',
'type' : 'int',
'default' : '128',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_xsmall_image_height',
'description' : 'The height for thumbnail image.The unit is the pixel',
'type' : 'int',
'default' : '200',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_xsmall_image_width',
'description' : 'The width for xsmall image.The unit is the pixel',
'type' : 'int',
'default' : '200',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_small_image_height',
'description' : 'The height for small image.The unit is the pixel',
'type' : 'int',
'default' : '320',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_small_image_width',
'description' : 'The width for small image.The unit is the pixel',
'type' : 'int',
'default' : '320',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_medium_image_height',
'description' : 'The height for medium image.The unit is the pixel',
'type' : 'int',
'default' : '480',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_medium_image_width',
'description' : 'The width for medium image.The unit is the pixel',
'type' : 'int',
'default' : '480',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_large_image_height',
'description' : 'The height for large image.The unit is the pixel',
'type' : 'int',
'default' : '768',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_large_image_width',
'description' : 'The width for large image.The unit is the pixel',
'type' : 'int',
'default' : '768',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_xlarge_image_height',
'description' : 'The height for xlarge image.The unit is the pixel',
'type' : 'int',
'default' : '1024',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_xlarge_image_width',
'description' : 'The width for xlarge image.The unit is the pixel',
'type' : 'int',
'default' : '1024',
'preference' : 1,
'mode' : 'w' },)
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