[Plone-UI] Re: [Plone-Users] change plone images sizes

Espen Moe-Nilssen espen at medialog.no
Mon Nov 17 09:26:07 UTC 2008


Hi

I found the validator described as this:

isMaxSize 	Tests if an upload, file or something supporting len() is  
smaller than a given max size value. 	Tests against a maxsize  
attribute on the field

Is this using a default (set in zope or something) size or can it be  
set, something like:

isMaxSize (value} ?



Den 13. nov. 2008 kl. 18.17 skrev Espen Moe-Nilssen:

>
>
>> There is a validator for this called isMaxSize.
>>
>> You can find more information about validators from the Validator  
>> Reference
>> available here:
>>
>> http://plone.org/documentation/manual/archetypes-developer-manual/ 
>> fields/ref
>> erencemanual-all-pages
>>
>> Shows you how to use them and gives a list of them.
>>
>> -- 
>> Christopher Warner
>> Manager, Content Management Systems
>> New York Media | 75 Varick St, 4th Fl
>> New York, NY 10013
>> phone: 212.508.0542
>> cell: 646.334.6780
>>
>>
>>
>>
>
>
> -- 
> Espen Moe-Nilssen
> Grieg Medialog AS

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-ui/attachments/20081117/51b4958f/attachment.html>


More information about the UI mailing list