[Erp5-report] r20003 - /erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 18 18:31:22 CET 2008
Author: nicolas
Date: Tue Mar 18 18:31:21 2008
New Revision: 20003
URL: http://svn.erp5.org?rev=20003&view=rev
Log:
Extend PropertySheet to handle Size Images. works done by Thibaut Deheunynck
Modified:
erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py
Modified: erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py?rev=20003&r1=20002&r2=20003&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py Tue Mar 18 18:31:21 2008
@@ -96,4 +96,79 @@
'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' },)
More information about the Erp5-report
mailing list