Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbnails not getting created when using folderAsField feature? #76

Open
harpster604 opened this issue Mar 15, 2011 · 2 comments
Open

Comments

@harpster604
Copy link

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

@aramis-it
Copy link

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

@florentsorel
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants