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? Quote 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]; Quote Link to comment https://forums.phpfreaks.com/topic/72043-getting-height-and-width/#findComment-363035 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.