Changes between Version 2 and Version 3 of CookBookValidateImageWeight


Ignore:
Timestamp:
02/27/2006 04:56:30 AM (10 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBookValidateImageWeight

    v2 v3  
    88Here we check that the image under 100 kb.
    99{{{
     10#!python
    1011def isValideSize(field_data, all_data):
    1112        if len(field_data["content"]) > 100000: # 100,000 bytes
Back to Top