Aureole Posted October 6, 2007 Share Posted October 6, 2007 How can I get the height and width of an image in pixels? Is that even possible? Link to comment https://forums.phpfreaks.com/topic/72043-getting-height-and-width/ Share on other sites More sharing options...
marcus Posted October 6, 2007 Share Posted October 6, 2007 $size = getimagesize("filename.gif"); echo "Width: " . $size[0] . "<br />\n" . "Height: " . $size[1]; Link to comment https://forums.phpfreaks.com/topic/72043-getting-height-and-width/#findComment-363035 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.