updated gallery plugin, image saving not working yet..