Hello, I do not think this is a good solution, and starting to check the internal data of each images (think about bmp or any 'raw' images format).
The filesize (with max upload size) will preserve of big image upload. Render the image inside a html image can be fixed with the size properties (which exist for this purpose...). I m against to add this to the current imagesize function, by default or add a new function, I do not care about additionnal&optionnal paramater. my 2 cts pierre -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php