     }
     
     internal func viewForZooming(in scrollView: UIScrollView) -> UIView? {
-        return self
+        return scrollView.viewWithTag(10204)
     }
     
     private func setZoomScale(scrollView:UIScrollView) {

        didSet {
            if enableImageZoom {
                setupGestureRecognizer()
            }
            else {
                disableImageZoom()

    
    private let zoomScrollView = UIScrollView.init()
    private let doubleTapGesture = UITapGestureRecognizer.init()
    private let closeButton = UIButton.init(type: .custom)
    
    private func setupGestureRecognizer() {
        doubleTapGesture.addTarget(self, action: #selector(handleDoubleTap(recognizer:)))
        doubleTapGesture.numberOfTapsRequired = 2
        self.addGestureRecognizer(doubleTapGesture)
