Copy link to clipboard
Copied
Does anyone know how to set up a web app submission form that reduces the size of images when they are uploaded?
Copy link to clipboard
Copied
There are several JavaScript libraries that take this on, the typical methods using canvas to resize initially and then sending the dataurl or blobs to the server to handle from there.
You can use libraries such as this to do most of this for you, just check out the demo:
GitHub - nodeca/pica: Resize image in browser with high quality and high speed
Copy link to clipboard
Copied
Start a free trial and go to PHP: Resizing and Watermarking Images
Personally I use https://www.dmxzone.com/go/23308/html5-file-upload