In order to better assist you, we’ll need more information. Can you please explain the issue you’re experiencing step by step and why should we remove the <image:image/> tag from the sitemap?
Notice that the Yoast SEO generates sitemap_index.xml and not the sitemap.xml.
The wpseo_xml_sitemap_img filter allows you to modify the sitemap images and the code below will remove the images when the sitemap updates. You can force an update after adding this code by disabling and enabling the sitemaps.
add_filter( 'wpseo_xml_sitemap_img', '__return_false' );
-
This reply was modified 8 years, 8 months ago by
amboutwe.
This does not always help, either it does not work correctly, it does not work after updates, in a word, it’s not so much an important thing in the site map, because of it there were such problems, it’s easier to remove or optional to do.