update gallery_image template for not required image