Moved image upload to publish, added galleryID to pass over