protected override void loadPreviews()
        {
            PreviewImages.AddRange(from attachment in Post.Attachments
                                   where attachment.Type == "photo"
                                   select attachment.ObtainPhotoUrl(ImageSize.Medium, new PhotoUrlObtainer()));

            PreviewImages.AddRange(from attachment in Post.Attachments
                                   where attachment.Type == "doc" && (attachment.Document.Type == (int)DocType.Image || attachment.Document.Type == (int)DocType.Gif)
                                   select attachment.ObtainDocumentPreview(ImageSize.Large, new DocumentPreviewUrlObtainer()));

            CanExpand = PreviewImages.Any() && PostType != PostType.Missing;
        }
 protected override void loadPreviews()
 {
     PreviewImages.AddRange(Post.Attachments.Select(url => new ImageItem(url, url)));
     CanExpand = PreviewImages.Any();
     Expand();
 }