open picture onclick handled