better formmating of img tag