Awesome module.

Just wondering though if I'm missing something.

As stands, when I upload an image now it remains its original size. I'd like it to be automatically re-sized during the upload though. I can always resize after the upload, but that gets a bit tedious. The imageAPI apparently fails to kick in despite default maximum image size settings in Admin/SWFupload-Settings and Admin/IMCE.

Can anyone provide guidance on hooking into SWF Upload or IMCE to make the auto-resize a go?

Thanks kindly.

Comments

pearson.gn’s picture

Looks like IMCE_SWFUpload causes some issues for SWFUpload when uploading images via the IMCE file browser.

The admin settings for SWFUpload provides max resolution options for each node type, but when the image is uploaded via the IMCE file browser I guess there's no resolution actually defined.

When I upload an image via file attachment to a node the resolution scales properly. All good.

But using the file browser as the upload vector causes the resolution to remain at its original value.

So, the problem seems to be to define a file browser upload resolution for SWFUpload, or perhaps insert a default image resolution if the node type isn't defined.