I don't know if this will be the best place to post this since it may be client side I am after.
I am trying to find a way of getting the file information e.g. size, dimensions from an image file before uploading to the server.
The only thing I have come across that seems to do this is uber upload but it is a bit too much overkill (too many features). Surely there is a simple way of getting the files attached information to post to my php script before it starts uploading the image.
Reason being, I don't want people to accidentally upload an image that is too large, wait a few minutes only to get the "file too large" message at the end. I want them to get the message before the image starts uploading. Input field max_file_size doesn't work anymore.
Does anyone know what part of uber upload is responsible for getting the filesize info when you click on upload? Is it php, java, javascript???