Added debug print of array returned by getimagesize()