         set{
             let task = objc_getAssociatedObject(self, &WTUIImageViewHighLightedImageDataTaskKey)
             if task != nil {
-                if task is URLSessionDataTask {
+                if task is WTURLSessionTask {
                     let myTask:WTURLSessionTask = task as! WTURLSessionTask
                     myTask.cancel()
                 }

        set{
            let task = objc_getAssociatedObject(self, &WTUIImageViewImageDataTaskKey)
            if task != nil {
                if task is URLSessionDataTask {
                    let myTask:WTURLSessionTask = task as! WTURLSessionTask
                    myTask.cancel()
                }

     
     }
     */
    
    public func toData()->Data?{
        var data = UIImageJPEGRepresentation(self, CGFloat(1))
