There's an issue on the image module for moving to nodeapi: http://drupal.org/node/43628 And a somewhat similar module draft some time back: http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/jareyero/modules/imagext/