Update ImageGalleryOverview.vm

get obj from $gallerydoc instead of $doc