 
         view.backgroundColor = UIColor.blackColor()
         
-        guard let asset = asset else {
-            return
-        }
-        
-        let options = PHImageRequestOptions()
-        options.deliveryMode = .HighQualityFormat
-        options.networkAccessAllowed = true
-        
-        PHImageManager.defaultManager().requestImageForAsset(asset, targetSize: PHImageManagerMaximumSize, contentMode: .AspectFit, options: options) { [weak self] image, info in
-            if let i = image {
-                
-            }
-        }
-        
-        
-
+        imageView.image = image
+        imageView.sizeToFit()
         
         scrollView.addSubview(imageView)
         scrollView.delegate = self

        if UIScreen.mainScreen().bounds.width <= 320 {
            horizontalPadding = 15
        }
//        
//        if let a = asset {
//            
//        }
    }
    
    internal override func prefersStatusBarHidden() -> Bool {

    @IBOutlet weak var centeringView: UIView!
    
    var allowsCropping: Bool = false
    var image: UIImage? {
        didSet {
            imageView.image = image
            imageView.sizeToFit()
        }
    }
    
    var verticalPadding: CGFloat = 30
    var horizontalPadding: CGFloat = 30
    
    var onComplete: ALCameraViewCompletion?
    
    internal init(image: UIImage, allowsCropping: Bool) {
        self.allowsCropping = allowsCropping
        self.image = image
        super.init(nibName: "ALConfirmViewController", bundle: NSBundle(forClass: ALCameraViewController.self))
        commonInit()
    }
    
    internal required init?(coder aDecoder: NSCoder) {
        self.image = UIImage()
        super.init(coder: aDecoder)
        commonInit()
    }
