target.checkImage(image, e);
int flags = target.checkImage(image, e); e.imageUpdate(image, flags, -1, -1, -1, -1);
  public void addImage(Image image, int id)  {    MediaEntry e = new MediaEntry();    e.id = id;    e.image = image;    e.next = head;    head = e;    // Start tracking image status.    target.checkImage(image, e);  }