Add src attribute to preload an image