Fixing web dir for document_images and patient images