diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_thumbnail.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_thumbnail.xml index a5e30759c67093367b2fed14bf80f6a260ffafeb..3f6133d71ad47a4958f5fec0abef21a395bd9dfa 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_thumbnail.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_thumbnail.xml @@ -152,9 +152,7 @@ </item> <item> <key> <string>enabled</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> + <value> <string></string> </value> </item> <item> <key> <string>external_validator</string> </key> @@ -174,11 +172,15 @@ </item> <item> <key> <string>image_format</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>image_resolution</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> </item> <item> <key> <string>max_length</string> </key> @@ -265,7 +267,7 @@ </item> <item> <key> <string>image_resolution</string> </key> - <value> <string></string> </value> + <value> <int>75</int> </value> </item> <item> <key> <string>max_length</string> </key> @@ -318,7 +320,20 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>here/hasData</string> </value> + <value> <string>python: here.portal_preferences.getPreference(\'preferred_image_format\', \'png\')</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python: here.portal_preferences.getPreference(\'preferred_image_quality\', \'75\')</string> </value> </item> </dictionary> </pickle> diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index 280f1a0985e7f8b52d23a480993c9a95247c7c00..22dbbf0601c1300ab9afc0f38b1ff138663b0230 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -1746 \ No newline at end of file +1745 \ No newline at end of file