Hi all,
I don't know if I'm using the right search keywords but I cannot seem to find any help for what I want to do.
Basically I have a form where the user can add an image to a database to show in a page.
What I would like to do is stop the user from adding the image if it is over a certain width and height.
I don't want to do any resizing in the process. I want the user to go and edit the image first before they upload it.
My question is how can I check the size of the image and stop the user from uploading it if it is not the right size?
-------------------------------------------------------------
"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
I don't know if I'm using the right search keywords but I cannot seem to find any help for what I want to do.
Basically I have a form where the user can add an image to a database to show in a page.
What I would like to do is stop the user from adding the image if it is over a certain width and height.
I don't want to do any resizing in the process. I want the user to go and edit the image first before they upload it.
My question is how can I check the size of the image and stop the user from uploading it if it is not the right size?
-------------------------------------------------------------
"The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."