itheperson
07-28-2003, 02:23 PM
I need to check the image size of an external URL so that if it is too large in width or height it returns an error.
Thanks.
Thanks.
|
Click to See Complete Forum and Search --> : Getting Image Dimensions itheperson 07-28-2003, 02:23 PM I need to check the image size of an external URL so that if it is too large in width or height it returns an error. Thanks. pyro 07-28-2003, 02:26 PM This will return the width and height of an image: <?PHP $pic = "yourimage.gif"; $wh = getimagesize($pic); $width = $wh[0]; $height = $wh[1]; echo $width."x".$height; ?> itheperson 07-28-2003, 03:13 PM merci pyro 07-28-2003, 03:14 PM No problem... webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |