Development PHP Image dimensions July 13, 2014 dimitris Leave a comment With this little bit of code you are able to get the height and width of an image in php. list($width, $height) =getimagesize($file); echo $width; echo $height;