The getimagesize() function will determine the size of any GIF, JPG, PNG, SWF, SWC, PSD, TIFF, BMP, IFF, JP2 or JPC 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.
The getimagesize() function will determine the size of any GIF, JPG, PNG, SWF, SWC, PSD, TIFF, BMP, IFF, JP2 or JPC 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.