i would like to get the width and height of images to be able to display images properly. i used the getimagesize() function of php. but there are instances where this fails. width and height returned are zeroes. now i started to find workarounds.
am i doing wrong here? how do i get the proper image width and height?