Add a plugin to preview images attachments