How to act based on a styled image is generated?
I believe this is what you are looking for.
http://happypixels.com/blog/triggering-creation-imagecache-derivatives-programmatically

Also see the trigger module.
http://drupal.org/documentation/modules/trigger

You can add your desired action to trigged.