 
         view.backgroundColor = UIColor.blackColor()
         
-        imageView.image = image
-        imageView.sizeToFit()
+        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 {
+                
+            }
+        }
+        
+        
+
         
         scrollView.addSubview(imageView)
         scrollView.delegate = self

        
        buttonActions()
    }
    
    override func viewWillLayoutSubviews() {
        super.viewWillLayoutSubviews()

    @IBOutlet weak var centeringView: UIView!
    
    var allowsCropping: Bool = false
    var verticalPadding: CGFloat = 30
    var horizontalPadding: CGFloat = 30
    
    var onComplete: ALCameraViewCompletion?
    
    var asset: PHAsset?
    
    var targetSize: CGSize {
        let scale = UIScreen.mainScreen().scale
        let targetSize = CGSize(width: view.bounds.width * scale, height: view.bounds.height * scale)
        return targetSize
    }
    
    init(asset: PHAsset, allowsCropping: Bool) {
        self.asset = asset
        self.allowsCropping = true
        super.init(nibName: "ALConfirmViewController", bundle: NSBundle(forClass: ALCameraViewController.self))
        commonInit()
    }
    
    internal required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        commonInit()
    }
