There are some client side javascript libraries that can resize images before sending them.
eg http://www.plupload.com/docs/v2/Image-Resizing-on-Client-Side
You may also need to upload the max post size and max upload size on the server
Hi people.
I have a question about Intervention Image. I'm coding a gallery website, and I wanted to put an image from my phone, and I got an error :
"Unsupported image type. GD driver is only able to decode JPG, PNG, GIF or WebP files."
My images are .jpg, but they have a resolution like 3024*4032 are a weight >2mo. I want to upload like 200-300 images on my website, so with these wieght that's gonna be a bit difficult.
So here, two questions, is my problem related to the weight of my images, or if not, how can I solve my error, and second, is there a way to modify my image before uploading it. Like my 3024*4032 image will be a 1240*1048 image.
If you have some ideas for me, thank you !
Intervention runs at the server which means the file must be small enough to handle server side, besides, you specifically asked;
is there a way to modify my image before uploading it.
Yes, with a client library for this purpose
Please or to participate in this conversation.