Can i find out the length of an image when i have the source path. The problem is like that, i want to limit the length of any image to ard 550px. If the length of the image is 700px i will trim the length to 550px. But i only have the file src path. How do i find out the length of the image before displaying it?