Resize does not function (with Flash uploader)

See all posts See thread Reply

Re: Resize does not function new!
by Magnus, 16 years, 2 months ago
Hi guys.

I have the same problem. I'm using the flash uploader PowUpload and I get the same results as Roderick is getting. Images get transferred to the right destination but they are not resized.

I will keep posting here if I find some solution.

Thanks,
Magnus
IcelandReply
Re: Resize does not function new!
by colin, 16 years, 2 months ago
Yes, I see where it comes from.

Basically, image processing happens only is $this->file_is_image is true, which happens only if the MIME type is in $this->image_supported.

Since Flash sets the MIME to be application/octet-stream, it is not recognized as an image format, thus disabling the image processing.

I guess I will add a new setting, something like $handle->is_flash that will disregard some MIME type information in order to allow image processing.

Could one of you send me some implementation of a Flash uploader with the upload class, that I can set up here, in order to test it?Reply