{"action":"created","issue":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4466","repository_url":"https://api.github.com/repos/Yoast/wordpress-seo","labels_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4466/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4466/comments","events_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4466/events","html_url":"https://github.com/Yoast/wordpress-seo/issues/4466","id":151513291,"number":4466,"title":"Images from gallery causing Sitemap XML error in Google Search Console","user":{"login":"git-hela","id":18709340,"avatar_url":"https://avatars.githubusercontent.com/u/18709340?v=3","gravatar_id":"","url":"https://api.github.com/users/git-hela","html_url":"https://github.com/git-hela","followers_url":"https://api.github.com/users/git-hela/followers","following_url":"https://api.github.com/users/git-hela/following{/other_user}","gists_url":"https://api.github.com/users/git-hela/gists{/gist_id}","starred_url":"https://api.github.com/users/git-hela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-hela/subscriptions","organizations_url":"https://api.github.com/users/git-hela/orgs","repos_url":"https://api.github.com/users/git-hela/repos","events_url":"https://api.github.com/users/git-hela/events{/privacy}","received_events_url":"https://api.github.com/users/git-hela/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Yoast/wordpress-seo/labels/xml%20sitemap","name":"xml sitemap","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-27T23:11:43Z","updated_at":"2016-04-28T11:05:14Z","closed_at":null,"body":"When images are linked in a page or post everything works fine with the generated sitemap, which is uploaded to Google.\r\n\r\nHowever it turns out, that images from inside a gallery are causing an error: \r\n\r\n\"Dies ist keine gültige URL. Korrigieren Sie die URL und reichen Sie die Daten erneut ein.\"\r\n\"This is not a valid URL. Correct the URL and send again\"\r\n\r\nThe reason Google is giving is this:\r\n\r\n- URL: /wp-content/uploads/2014/02/KW-3-bis-5-002.jpg\r\n- Übergeordnetes Tag: image\r\n- Tag: loc \r\n\r\nAn image from outside a gallery shows up in this way:\r\n```\r\n<image:image>\r\n\t<image:loc>http://www.zirbenshop24.at/wp-content/uploads/2013/10/Wood-Engraved-Logo-MockUp-wp-header-1000x288-v3.jpg</image:loc>\r\n\t<image:caption><![CDATA[Film Dreh am 16.09.2014]]></image:caption>\r\n</image:image>\r\n```\r\n\r\nWhereas an image from a gallery is presented in the sitemap this way:\r\n```\r\n<image:image>\r\n<image:loc>/wp-content/uploads/2014/02/KW-3-bis-5-002.jpg</image:loc>\r\n\t<image:title><![CDATA[Werkstattumbau]]></image:title>\r\n\t<image:caption><![CDATA[Werkstattumbau]]></image:caption>\r\n</image:image>\r\n```\r\n\r\nSo if the image is from a galery the http://www.zirbenshop24.at/ is missing at <image:loc>.\r\n\r\nIf you search for \"<image:loc>/wp-content/\" (without the http://www.zirbenshop24.at) you will find the the exact number of occurances as error shown in the Google Search Console\r\n\r\nThis can be seen at http://www.zirbenshop24.at/post-sitemap.xml\r\n\r\nIs there any quick fix for that?\r\n\r\n* WordPress version: 4.5.1\r\n* Yoast SEO version: 3.2.3\r\n"},"comment":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/comments/215390039","html_url":"https://github.com/Yoast/wordpress-seo/issues/4466#issuecomment-215390039","issue_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4466","id":215390039,"user":{"login":"git-hela","id":18709340,"avatar_url":"https://avatars.githubusercontent.com/u/18709340?v=3","gravatar_id":"","url":"https://api.github.com/users/git-hela","html_url":"https://github.com/git-hela","followers_url":"https://api.github.com/users/git-hela/followers","following_url":"https://api.github.com/users/git-hela/following{/other_user}","gists_url":"https://api.github.com/users/git-hela/gists{/gist_id}","starred_url":"https://api.github.com/users/git-hela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-hela/subscriptions","organizations_url":"https://api.github.com/users/git-hela/orgs","repos_url":"https://api.github.com/users/git-hela/repos","events_url":"https://api.github.com/users/git-hela/events{/privacy}","received_events_url":"https://api.github.com/users/git-hela/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T11:05:14Z","updated_at":"2016-04-28T11:05:14Z","body":"FYI: I just double checked it ... no plugins are affecting the way images are embedded in a post nor are there any functions in th child themes function.php."}}