note 16067 added to function.imagesx
| From: | vinod at jobsure dot com | Date: | Mon, 15 Oct 2001 15:18:08 +0000 |
| Subject: | note 16067 added to function.imagesx | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18930@lists.php.net to get a copy of this message | ||
Hi
I am using this way to get height and width of image hope this help you guys also
=======================================
<?
$filename=imagepath;
$imageInfo = getimagesize($filename);
$width = $imageInfo[0];
$height = $imageInfo[1];
echo "<BR>width--->$width";
echo "<BR>height--->$height";
?>
=======================================
Thanks
Vinod
http://www.jobsure.com
--
http://www.php.net/manual/en/function.imagesx.php
http://master.php.net/manage/user-notes.php?action=edit+16067
http://master.php.net/manage/user-notes.php?action=delete+16067
http://master.php.net/manage/user-notes.php?action=reject+16067