Commit 3a5bae54 authored by Ivan Tyagov's avatar Ivan Tyagov

Add preferences to allow setting preferred default image format and image size.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36935 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0a7ebbe3
......@@ -213,4 +213,17 @@ class HtmlStylePreference:
'type' : 'int',
'default' : 1024,
'preference' : 1,
'mode' : 'w' },)
'mode' : 'w' },
{ 'id' : 'preferred_image_format',
'description' : 'Preferred image format.',
'type' : 'string',
'preference' : 1,
'default' : 'png',
'mode' : 'w' },
{ 'id' : 'preferred_image_size',
'description' : 'Preferred image size.',
'type' : 'string',
'preference' : 1,
'default' : 'large',
'mode' : 'w' },
)
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