added sortableuploadfield, added template placeholders for gallery.