[bug 835736] Add model whitelist for image attachments.