canvasResize icon indicating copy to clipboard operation
canvasResize copied to clipboard

Question: Implement canvasResize in WordPress front end upload solution

Open twoway opened this issue 11 years ago • 2 comments

Hi I have installed canvasResize on my own server an performed some tests. I have a WordPress project that uses front end uploading of images based on the code in this post: http://madebyraygun.com/blog/2012/upload-and-attach-multiple-images-from-the-wordpress-front-end/ But i only upload one image at the time. Demo here: http://twoway.hemsida.eu/wp1/front-end-image-upload/

In most cases the photos is taken with a mobile device like iPad/iPhone and the upload time is quite long on a 3G connection.

I tested canvasResize on my own server and orginal image is around 1.5 MB and if i use canvasResize with 1024px and 100% quality the upload is reduced to around 800 kb.

My goal is to implement canvasResize in my WordPress project and my question is if thar would work? Do you (Goker) now if it has been done? Doo you have any tips that could help me?

twoway avatar Sep 21 '13 15:09 twoway

I think it is work. I never used WordPress. You are using $_FILES variable in your plugin and canvasResize works same method.

But I did not test it IOS7 etc. yet.

goker-dev avatar Sep 25 '13 03:09 goker-dev

Ok. Thanks for the repy. I will report back if i manage to implement cancasResize into WordPress and if i test it on iOS7.

twoway avatar Sep 25 '13 06:09 twoway