Hi
I'm using this MeioUpload Behavior. And i installed both phpThumb component and phpThumb vendor.
Thumbnail generation is working fine but zoom-cropping is not. Here is my code. You can see i've tried every possible variables. I also set every default zc or zoom_crop variables I found in component and vendor to 1. 1 is the same as C anyway.
var $actsAs = array('MeioUpload' => array( 'filename' => array(
'dir' => "uploads/images",
'create_directory' => true,
'allowed_mime' => array('image/jpeg', 'image/pjpeg', 'image/gif', 'image/png'),
'allowed_ext' => array('.jpg', '.jpeg', '.png', '.gif'),
'thumbsizes' => array(
'small' => array('width'=>65, 'height'=>60,'zc'=>"C", 'zoomCrop' => "C", 'zoom_crop'=>"C"),
'medium' => array('width'=>159, 'height'=>130, 'zc'=>"C", 'zoomCrop' => "C", 'zoom_crop'=>"C"),
'large' => array('width'=>480, 'height'=>320,'zc'=>"C", 'zoomCrop' => "C", 'zoom_crop'=>"C")
)
)
)
);
Any idea?