Adds alt attribute to image.