preview attachments of photo and link types