Add dynamicImage to AttachmentController