Using MediaMapper to map one image to several variants

Thanks!
I’m thinking of hooking into the file create event using this:

But the event does not get triggered on file upload. Do I need to add something i web.config maybe or should the code be triggered anyway?