Commit f0114151 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

modify full_sized_image field:

* do not specify 'display' parameter, because it is 'full sized' image.
* specify 'format=png' parameter to support formats that cannot be displayed in the browser.
* disable if the document does not yet have data.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39224 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0a75a9e8
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <global name="ImageField" module="Products.ERP5Form.ImageField"/>
<global name="ImageField" module="Products.ERP5Form.ImageField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -155,7 +152,9 @@ ...@@ -155,7 +152,9 @@
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>external_validator</string> </key> <key> <string>external_validator</string> </key>
...@@ -258,15 +257,15 @@ ...@@ -258,15 +257,15 @@
</item> </item>
<item> <item>
<key> <string>image_display</string> </key> <key> <string>image_display</string> </key>
<value> <string>medium</string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>image_format</string> </key> <key> <string>image_format</string> </key>
<value> <string></string> </value> <value> <string>png</string> </value>
</item> </item>
<item> <item>
<key> <string>image_resolution</string> </key> <key> <string>image_resolution</string> </key>
<value> <int>75</int> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>max_length</string> </key> <key> <string>max_length</string> </key>
...@@ -300,13 +299,7 @@ ...@@ -300,13 +299,7 @@
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -317,4 +310,17 @@ ...@@ -317,4 +310,17 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/hasData</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
885 886
\ No newline at end of file \ No newline at end of file
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