diff --git a/product/ERP5/PropertySheet/HtmlStylePreference.py b/product/ERP5/PropertySheet/HtmlStylePreference.py index 5470afaf1ac0a46e0a20fcf4bba31a78c044c258..4c8d5ac63b897b32e6166e28f94befe7780e27bb 100644 --- a/product/ERP5/PropertySheet/HtmlStylePreference.py +++ b/product/ERP5/PropertySheet/HtmlStylePreference.py @@ -96,4 +96,79 @@ class HtmlStylePreference: 'type' : 'string', 'preference' : 1, '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' },)