This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Limit image dimensions during file upload
Started 12 years ago by jethomas | 2 posts |
-
I was just wondering if there was a way to limit the dimensions of an image that gets uploaded? I've already limited the upload file type to images only.
Thanks.
Posted 12 years ago # -
I'm afraid there is no easy way to do this. Sorry.
You basically need to modify the uploader code to read the image (using the GD library) and check for the dimensions.
MachForm Founder
Posted 12 years ago #
Reply
You must log in to post.