             previewShown = true
             preview.yy_setImageWithURL(NSURL.fileURLWithPath(path),
                 placeholder: nil,
-                options: YYWebImageOptions(),
+                options: YYWebImageOptions.SetImageWithFadeAnimation,
                 progress: nil,
                 transform: { (img, url) -> UIImage? in
                     return img.roundCorners(self.bindedLayout.screenSize.width, h: self.bindedLayout.screenSize.height, roundSize: 14)

    }
    
    public override func fileReady(reference: String, selfGeneration: Int) {
        print("ready \(selfGeneration)")
        bgLoadReference(reference, selfGeneration: selfGeneration)
        
        runOnUiThread(selfGeneration) { () -> () in

    // File state binding
    
    public override func fileUploadPaused(reference: String, selfGeneration: Int) {
        bgLoadThumb(selfGeneration)
        bgLoadReference(reference, selfGeneration: selfGeneration)
        
        runOnUiThread(selfGeneration) { () -> () in
