Handle multiple images with the same src