Add onImage event.