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

            imageView.wmf_setImage(with: imageURL, detectFaces: true, onGPU: true, failure: { error in
                self.imageView.image = UIImage(named: "media-wizard/placeholder")
            }, success: {})
            origin.y += imageView.frame.layoutHeight(with: spacing)
        }

        let semanticContentAttribute: UISemanticContentAttribute = isRTL ? .forceRightToLeft : .forceLeftToRight



extension InsertMediaSearchResultCollectionViewCell: Themeable {
    func apply(theme: Theme) {
        selectedImage = theme.isDark ? UIImage(named: "selected-dark") : UIImage(named: "selected")
        selectedImageView.tintColor = theme.colors.link
        captionLabel.textColor = theme.colors.primaryText
        labelBackgroundColor = theme.colors.paperBackground
    }
