Hi
I have a form where users can submit an image which is uploaded to the web server.
I am trying to validate this image but am having some difficulties using the getimagesize() function (though this may not be the right way to go about this!)
I am first trying to validate whether the selected files is an image (at best a jpeg or a gif)
and then to validate the images dimensions - I can accept no images greater than 200px X 200px
I would really appricaTE it something could supply some advice as this problem is really bugging me!!
thanks in advance
validating an image
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK