php different hash for same image
===

I have two identical images stored in two different servers (dropbox and my own).
however, i realize that

hash("md5",file_get_contents($image1))
hash("md5",file_get_contents($image2))

are returning different hashes for these identical images.
How can i make sure they both return the same string?