img tag improvements