Added show picture event handler code