|
Finding the size of an image?
Anyone know how to find the width and height (in pixels) of an image on the server? In Perl I've used a module called Image::Size that would check an image file and return the width and height as $x and $y variables. But I'm not sure how to do this with PHP.
The idea is to check pictures people upload and if it's over certain dimensions it will be deleted and an error message returned.
__________________
--Epsilon--
|