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

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

                imageView1.image = thumbnailImage

            } else {
                imageView1.yep_setImageOfAttachment(attachments[0], withSize: fullRect.size)
            }

            addSubview(imageView1)
