Adding onClick listener in image