fn subst_img( htmlstr: Box<str>, images: &mut Vec<Box<Path>>, img_path: &Path, ) -> Result<Box<str>, String>
img