diff --git a/functions/image.xml b/functions/image.xml index d4c0e2e3ba..30b6385c1e 100644 --- a/functions/image.xml +++ b/functions/image.xml @@ -64,13 +64,21 @@ "height=xxx width=xxx" string that can be used directly in an IMG tag. - GetImageSize + GetImageSize (file) <?php $size = GetImageSize ("img/flag.jpg"); ?> <IMG SRC="img/flag.jpg" <?php echo $size[3]; ?> + + + GetImageSize (URL) + +<?php $size = GetImageSize ("http://www.php.net/gifs/logo.gif"); ?> + + + The optional imageinfo parameter allows you to extract some extended information from the image @@ -99,6 +107,11 @@ This function does not require the GD image library. + + + URL support was added in PHP 4.0.5 + +