Add an image viewer for attachments