updated to use img tag