Skip to content

Thumbnails not getting created when using folderAsField feature? #76

@harpster604

Description

@harpster604

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions