support for adding image attachments