MeioUpload icon indicating copy to clipboard operation
MeioUpload copied to clipboard

Thumbnails not getting created when using folderAsField feature?

Open harpster604 opened this issue 14 years ago • 2 comments

Great plugin, but I am having trouble with thumbnail generation when folderAsField is used.

When starting with a fresh version of the plugin (2.2) I enable thumbnails on my model:

    'thumbsizes' => array(
        'small'  => array('width' => 90, 'height' => 90),
        'medium' => array('width' => 220, 'height' => 220),
        'large'  => array('width' => 800, 'height' => 600)
    ),

It works great and thumbnails are generated in /thumb. Now if I enable folderAsField in the model:

    'folderAsField' => 'user_id',

The original image gets saved properly in dir/user_id (ie. images/1) but NO thumbnails are generated in the folder. It creates the folders for them (small, medium, large) but creates no images inside!

Any idea on what the issue is and how to fix it? I'm on a tight deadline and will have to switch to a different uploader if I cannot get this to work soon.

Thanks

harpster604 avatar Mar 15 '11 21:03 harpster604

Me too..Image upload works ok.But thumbnail not generating.

aramis-it avatar Feb 01 '12 10:02 aramis-it

Me too, the thumbnails are not generated (CakePHP 2.0.6). I use this plugin until a correction MeioUpload : https://github.com/msadouni/cakephp-phpthumb-plugin

florentsorel avatar Mar 01 '12 11:03 florentsorel