adding img to the html doc using a formatted variable. Hopefully this works.