generates in-line image tag (html)