public T image(File file,boolean memCache,int targetWidth,BitmapAjaxCallback callback){
  if (callback == null)   callback=new BitmapAjaxCallback();
  callback.file(file);
  String url=null;
  if (file != null)   url=file.getAbsolutePath();
  return image(url,memCache,true,targetWidth,0,callback);
}

public T image ( File file , boolean memCache , int targetWidth , BitmapAjaxCallback callback ) { if ( callback == null ) callback = new BitmapAjaxCallback ( ) ; callback . file ( file ) ; String url = null ; if ( file != null ) url = file . getAbsolutePath ( ) ; return image ( url , memCache , true , targetWidth , 0 , callback ) ; }
set the image of an imageview from a file with a custom callback .
