User API : correctly call "on_image_upload" when a user take an image wi...

...th its webcam