chanaged img tag to be middleman-friendly