Make it apply to all attachments, not just photos