array getimagesize (string filename [, array imageinfo])
The GetImageSize() function will determine the size of any GIF, JPG, PNG or SWF image file and return the dimensions
along with the file type and a height/width text string to be used inside a normal HTML IMG tag.