update img tag to contain alt attribute