Skip to content
Advertisement

how to reduce image size or quality to specific size when upload

in a PHP query form i’m trying to set limit for the image size whenever user upload any size of image automatically reduces to a specific size. i don’t have any idea, so give me some suggestion to do this.

Advertisement

Answer

Try this link https://www.apptha.com/blog/how-to-reduce-image-file-size-while-uploading-using-php-code/

below example for reducing the image size while uploading in PHP.

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement