 
   // MARK: - Properties
 
-  private let imageView = UIImageView()
+  public let imageView = UIImageView()
 
   public var zoomMode: ZoomMode = .fit {
     didSet {

    imageView.center = contentCenter(forBoundingSize: bounds.size, contentSize: contentSize)
  }

  @objc private func handleDoubleTap() {
    if self.zoomScale == 1 {
      setZoomScale(max(1, maximumZoomScale / 3), animated: true)
    } else {
      setZoomScale(1, animated: true)
    }
  }

  // MARK: - UIScrollViewDelegate

    decelerationRate = UIScrollViewDecelerationRateFast
    addSubview(imageView)

    let doubleTapGesture = UITapGestureRecognizer(target: self, action: #selector(handleDoubleTap(_:)))
    doubleTapGesture.numberOfTapsRequired = 2
    addGestureRecognizer(doubleTapGesture)
  }
