The images on site are not found/indexed, it's been recommended we change their presentation to Google Bot - could this create a cloaking issue?
-
Hi
We have an issue with images on our site not being found or indexed by Google. We have an image sitemap but the images are served on the Sitecore powered site within <divs>which Google can't read. The developers have suggested the below solution:</divs>
Googlebot class="header-banner__image" _src="/~/media/images/accommodation/arctic-canada/arctic-safari-camp/arctic-cafari-camp-david-briggs.ashx"/>_Non Googlebot <noscript class="noscript-image"><br /></span></em><em><span><div role="img"<br /></span></em><em><span>aria-label="Arctic Safari Camp, Arctic Canada"<br /></span></em><em><span>title="Arctic Safari Camp, Arctic Canada"<br /></span></em><em><span>class="header-banner__image"<br /></span></em><em><span>style="background-image: url('/~/media/images/accommodation/arctic-canada/arctic-safari-camp/arctic-cafari-camp-david-briggs.ashx?mw=1024&hash=D65B0DE9B311166B0FB767201DAADA9A4ADA4AC4');"></div><br /></span></em><em><span></noscript>
aria-label="Arctic Safari Camp, Arctic Canada" title="Arctic Safari Camp, Arctic Canada" class="header-banner__image image" data-src="/~/media/images/accommodation/arctic-canada/arctic-safari-camp/arctic-cafari-camp-david-briggs.ashx" data-max-width="1919" data-viewport="0.80" data-aspect="1.78" data-aspect-target="1.00" >
Is this something that could be flagged as potential cloaking though, as we are effectively then showing code looking just for the user agent Googlebot?The devs have said that via their contacts Google has advised them that the original way we set up the site is the most efficient and considered way for the end user. However they have acknowledged the Googlebot software is not sophisticated enough to recognise this. Is the above solution the most suitable?Many thanksKate
-
Hi Kate
I don't think it would be looked at as cloaking. One thing I would definitely do though to check is a fetch and render in search console. In the render, the Googlebot view should be the same as the browser view. You can also check the cached version of the page as well.
-
Many thanks for taking the time to respond and sorry for my slow response.
At present we feel that it could be seen as cloaking as we would be introducing specific code just for Google. This would change the render view in Search Console as well between Google / users.
Thanks
Kate
-
Hi Kate
Wanted to be sure you saw Barry's reply over on the Google forum. He also seems to think this would be fine, but I do agree with his recommendation to target all bots, not just Googlebot.
I also was able to find your page in Google and checked the cached version. Google's cache looks the same as the live version, so I think you should be fine.
-
Hi Dan
I had missed that reply; cheers for the heads up (my email notification never came through). I'll talk to the devs about implementing to target all bots.
Thanks!