note 24357 deleted from function.imagesy by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 09:03:30 +0000 |
| Subject: | note 24357 deleted from function.imagesy by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196865@lists.php.net to get a copy of this message | ||
Note Submitter: boo at php dot net
----
To use this function notice that 'image' parameter it's a RESOURCE and NOT an Image
File Path !
Here comes an exemple:
$img = @imagecreatefromgif("http://www.mysite.com/my_imag.gif");
if ($img) $img_height = imagesy($img);
echo "My height is " . $img_height;