I’m trying to downsize an image quality before it is sent to the PHP script and uploaded.
Is this possible?
If so would I be able to do it in Javascript?
I’m trying to downsize an image quality before it is sent to the PHP
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It could probably done with the new HTML5 file APIs, but this isn’t supported by all browsers (far from it). Using PHP after the upload is the only real way here.
If you want to try doing it with HTML5: