got the onclick image on galerry working