Personal tools
You are here: Home Products Cut Image Field Releases Cut Image Field 1.0

Cut Image Field 1.0

Fully functional. Compatible with classical ImageField, via an option.

For additional information about this project, please visit the project page.

Available downloads

Product Package

For all platforms (445.1 kB)

Release Notes

Tested with Plone 2.1.2, Plone 2.1.1, Plone 2.1
State Final release
License GPL
Release Manager Thierry Benita

CutImageField is an archetypes field that allows to resize and cut an image in order to respect strict render dimensions.

It is based on ImageField, and has almost the same attributes.
Here is an exemple of declaration :

               CutImageField ('Photo1',
original_size=(428,210),
sizes={'mini':(107,70)},
cut={'original_size':1,
'mini':1},
required=1,
widget=ImageWidget()),

The cut attribute allows to declare if a specific size should be a classical ImageField render (value 0) or should be cut in order to fill the full size (value 1).

You may mix cut formats and normal resized formats.