[grp discuss] display image if the attachment is a image file
Refactor discuss img