Midcom helper datamanager2 type image
From OpenPSA Wiki
This type handles images. They are saved as Blobs on the file system. The type can be configured to perform filter operations like resize and can also generate derived images with the help of midcom_helper_imagefilter.
[edit] Sample Configuration
'photo' => Array ( 'title' => 'photo', 'type' => 'photo', 'type_config' => Array ( 'filter_chain' => 'exifrotate()', 'auto_thumbnail' => Array(150,150), 'derived_images' => array ( // Intentionally this way, so that portraits can be taller 'view' => 'exifrotate();resize(600,700)', ), ), 'widget' => 'photo', ),
