Add edit and new  views to Image gallery