Commit 6caf9358 authored by Ivan Tyagov's avatar Ivan Tyagov

Use preferences to determine preferred image format.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36938 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9ebebe02
......@@ -307,7 +307,7 @@
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
python: \'<div><a href= "%s/view"><img class="left" src="%s?display=thumbnail&format=PNG&" /><span style="font-size: normal">%s</span></a></div><p class="clear" />\' % (cell.absolute_url(), cell.Base_getThumbnailAbsoluteUrl(), cell.getDescription())
python: \'<div><a href= "%s/view"><img class="left" src="%s?display=thumbnail&format=%s&" /><span style="font-size: normal">%s</span></a></div><p class="clear" />\' % (cell.absolute_url(), cell.Base_getThumbnailAbsoluteUrl(), cell.getObject().portal_preferences.getPreference(\'preferred_image_format\', \'png\'), cell.getDescription())
]]></string> </value>
</item>
......
1486
\ No newline at end of file
1487
\ 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