At 14:25 on Monday, 24 Jan 2005, Rob Smith wrote: > :-\ > > I have a feature on one of my sites that allows the user to upload an > image. > However, I would also like to limit the physical width's and heights to > A) > 100 x 100 (small thumbnail) B) 200 x 200 (large thumbnail) C) 600 x 450 > (photo gallery)... you can do that with either Imagemagick or the GDI libraries in PHP, but you can't stop them uploading a large file in the first place. AFAIK http://www.imagemagick.org/ http://uk.php.net/gd hth -- http://wiki.workalone.co.uk http://www.workalone.co.uk/ads.htm http://www.xebit.net