edit gallery plugin post