resources to attachments