Check file size of image before uploading
$30-50 USD
Paid on delivery
I want you to create a way to check a file size of a file before uploading.
Attached is an html file that allows the user to select an image. When the SIZE button is pressed, the form will be submitted if the image is less than 2 megabytes. If the image is over 2megabytes, an alert message saying
Image upload is limited to 2 mb
will be displayed to the user and the form will not submit.
I have some code attached that performs most of this functionality but doesn't work.
Your solution should not require installation of any special activex objects or plugins for the client browser application (such as firefox, ie, opera).
Project ID: #3234679