only set img.src if its a different url