only change src when it has been changed, saves requests when the image sends a no cache header