         let view = UIImageView()
         view.contentMode = .ScaleAspectFill
         view.clipsToBounds = true
-//        view.layer.minificationFilter = kCAFilterTrilinear
         return view
         }()
 

                imageView2.image = thumbnailImage

            } else {
            imageView2.yep_setImageOfAttachment(attachments[1], withSize: halfRect.size)
//            ImageCache.sharedInstance.imageOfAttachment(attachments[1], withSize: halfRect.size, completion: { [weak self] (url, image) in
//                guard let strongSelf = self where strongSelf.attachmentURLs.contains(url) else {
//                    return
//                }
//                self?.imageView2.image = image
//                })
            }

            addSubview(imageView1)


            } else {
                imageView3.yep_setImageOfAttachment(attachments[2], withSize: halfRect.size)
            }

            addSubview(imageView1)
