 
     private var spacing: CGFloat = 8
 
+    private let selectedImageView = UIImageView()
+    private var selectedImageViewDimension: CGFloat = 0
+    private var selectedImage = UIImage(named: "selected")
+
     override func setup() {
         super.setup()
         imageView.accessibilityIgnoresInvertColors = true
         imageView.contentMode = .scaleAspectFit
         contentView.addSubview(imageView)
+        selectedImageView.contentMode = .scaleAspectFit
+        contentView.addSubview(selectedImageView)
         captionLabel.numberOfLines = 1
         contentView.addSubview(captionLabel)
     }


extension InsertMediaSearchResultCollectionViewCell: Themeable {
    func apply(theme: Theme) {
        captionLabel.textColor = theme.colors.primaryText
        labelBackgroundColor = theme.colors.paperBackground
    }

    func configure(imageURL: URL?, imageViewDimension: CGFloat, title: String?) {
        self.imageURL = imageURL
        self.imageViewDimension = imageViewDimension
        selectedImageViewDimension = imageViewDimension / 6
        captionLabel.text = title
        setNeedsLayout()
    }
