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 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ImageField" module="Products.ERP5Form.ImageField"/>
<tuple/>
</tuple>
<global name="ImageField" module="Products.ERP5Form.ImageField"/>
</pickle>
<pickle>
<dictionary>
......@@ -155,7 +152,9 @@
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>external_validator</string> </key>
......@@ -258,15 +257,15 @@
</item>
<item>
<key> <string>image_display</string> </key>
<value> <string>medium</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>image_format</string> </key>
<value> <string></string> </value>
<value> <string>png</string> </value>
</item>
<item>
<key> <string>image_resolution</string> </key>
<value> <int>75</int> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
......@@ -300,13 +299,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
......@@ -317,4 +310,17 @@
</dictionary>
</pickle>
</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>
885
\ No newline at end of file
886
\ 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