Updated doc for visible argument for image and document loop