is there any way, in php, to determine the width and height of an image that is already uploaded?
I remember reading something on php.net but forgot the command..
Thanks for any help :)
Printable View
is there any way, in php, to determine the width and height of an image that is already uploaded?
I remember reading something on php.net but forgot the command..
Thanks for any help :)
getimagesize
Whatever filePHP Code:<?php
list($width, $height, $type, $attr) = getimagesize("image_name.gif");
?>
Ty ;)
+REP if i can.