Jump to content

Google Sitemap - No images indexing


Z-GrimV

Recommended Posts

What i meant by not indexing images is, in sitemap we have url sent and url indexed. In web, i have over 3000 url sent and almost the same indexed. In images, i have over 2700 sent, but none indexed. Isn't it supposed to index the images also?

Link to comment
Share on other sites

  • 4 weeks later...

It is not working as well: The pictures have a double http:

 

 <image:loc>http://my domainthttp://my domain/12387-large/puppy-kong.jpg</image:loc>

 

I'm getting crazy with this. no one module is working.... Somebody here to fix the code for tomer's latest one or at least the one I named in Post #65 ???

 

Please I need really urgent help on this. The problem remains since February....

 

I dont't understand why it is not possible to have a simply sitemap module working...

 

Hello,

 

did you found a solution for this double url in this module ?

Link to comment
Share on other sites

I've found a way to do manually.

 

I open the xml file with wordpad (Windows), choose the wrong words :

exemple:

http://mywebsite/htt....com.../.../...

and choose the fonction "replace", to change "http://mywebsite/http://mywebsite.com" by "http://mywebsite.com".

Simply.

 

And it work ;)

 

 

And now Google indexed all your images?

Until then no image and now all of them are indexed?

Link to comment
Share on other sites

Donwload the latest PS-Version and extract the module there from the modules, by uploading it manually to your FTP. BUT carefull, This module suits only PS 1.5.3 upwards. It does not work with PS 1.4. if you are using it.

Link to comment
Share on other sites

  • 5 weeks later...

I have managed to fix this issue : it's somehow similar to what happend in previous versions :

in sitemap.php at line 304 change from

   $image_link = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.(int)$id_image['id_image']);

to

   $image_link = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.(int)$id_image['id_image'],'large');

 

practically you have to add a

,'large'

at the end of function getImageLink

  • Like 1
Link to comment
Share on other sites

  • 5 weeks later...

I did the test and, well , after two days:

rac6yu.png

<url>
<image:image>
  <image:loc>https://www.gruenes-spielzeug.de/335-large/spieluhr-stern.jpg
  </image:loc>
  <image:caption>Spieluhr goldgelber Stern von Kallisto aus Biobaumwolle mit Schurwollf&uuml;llung.
  </image:caption>
  <image:title>Spieluhr goldgelber Stern
  </image:title>
</image:image>
<loc>http://www.gruenes-spielzeug.de/kallisto/11-spieluhr-stern.html
</loc>
<priority>0.9
</priority>
<lastmod>2013-08-02T07:27:48+02:00
</lastmod>
<changefreq>weekly
</changefreq>
 </url>
 <url>

 

 

All in all, I never worked with sitemap files before and am in doubt which content has to be in them to maximaxe Google's favor.

 

 

But I know and can tell that the gsitemap module I used under Ps1.49 (was a free 3rd party module) made Google index our pictures en masse!

 

So, how come it is still not working in 1.5.x?

Edited by B.Köring (see edit history)
Link to comment
Share on other sites

  • 2 months later...

I have just noticed that Google has not been indexing any of my images. I have been reading this post and it looks like you guy have fixed it?

 

but code is different from mine. Is this because I am using 1.4.9 and multiple languages?

Mine is

$image->addChild('loc', $link->getImageLink($product['link_rewrite'], (int)$product['id_product'].'-'.(int)$product['id_image']), 'http://www.google.com/schemas/sitemap-image/1.1');

 

Recommended new

$image->addChild('loc', $link->getImageLink($product['link_rewrite'], (int)$product['id_product'].'-'.(int)$img['id_image'], 'large'), 'http://www.google.com/schemas/sitemap-image/1.1');

 

Any help welcome on what to do to get this working for us.

Many thanks Rob

Link to comment
Share on other sites

I have just noticed that Google has not been indexing any of my images. I have been reading this post and it looks like you guy have fixed it?

 

but code is different from mine. Is this because I am using 1.4.9 and multiple languages?

Mine is

$image->addChild('loc', $link->getImageLink($product['link_rewrite'], (int)$product['id_product'].'-'.(int)$product['id_image']), 'http://www.google.com/schemas/sitemap-image/1.1');

 

Recommended new

$image->addChild('loc', $link->getImageLink($product['link_rewrite'], (int)$product['id_product'].'-'.(int)$img['id_image'], 'large'), 'http://www.google.com/schemas/sitemap-image/1.1');

 

Any help welcome on what to do to get this working for us.

Many thanks Rob

 

via sitemap...google  typically will NOT index images from a sitemap...but that does not mean they are not indexed..via google

robot..

 

to find out if you shop images have been indexed try this:

 

In google search bar enter site:YOURURL

 

click images

 

do you see images?

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 months later...

Hi guys,

 

I also have the similar problem I guess.
We all know that native Prestashop Google sitemap generator module is buggy and it doesnt work well.

 

I'm not sure if this has to do with indexing my images but these are the screenshots of my Google webmaster tools dashboard.

http://prntscr.com/2ounpu
http://prntscr.com/2ouodt
http://prntscr.com/2ouoqs

Any thoughs?

Thank you 
Dean

Link to comment
Share on other sites

  • 2 months later...

Hi, I tried in prestashop 1.4.10 to insert 'large' in the way you said, but when I go to generate the sitemap all image urls generated in sitemal not work .. urls generated are .../0-large/...does not insert the correct id why??

please help me!

 

i use the string

$image->addChild('loc', $link->getImageLink($product['link_rewrite'], (int)$product['id_product'].'-'.(int)$img['id_image'], 'large'), 'http://www.google.com/schemas/sitemap-image/1.1'); 

all urls of the images generated are the form :  www.mysite.com/0-large/product.jpg

Link to comment
Share on other sites

  • 2 weeks later...

I have managed to fix this issue : it's somehow similar to what happend in previous versions :

in sitemap.php at line 304 change from

    $image_link = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.(int)$id_image['id_image']);
to
    $image_link = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.(int)$id_image['id_image'],'large');
practically you have to add a
,'large'
at the end of function getImageLink

 

I have the same indexing problem this is my code 

 

private function _addSitemapNodeImage($fd, $link, $title, $caption)
{
fwrite($fd, '<image:image><image:loc>'.$link.'</image:loc><image:caption>'.$caption.'</image:caption><image:title>'.$title.'</image:title></image:image>');
}
 
Where would I add the "Large" word?
Link to comment
Share on other sites

  • 1 month later...

 

I have the same indexing problem this is my code 

 

private function _addSitemapNodeImage($fd, $link, $title, $caption)
{
fwrite($fd, '<image:image><image:loc>'.$link.'</image:loc><image:caption>'.$caption.'</image:caption><image:title>'.$title.'</image:title></image:image>');
}
 
Where would I add the "Large" word?

 

 

Hi!

google start re indexing my images too!

in my case i used thickbox_default image . What you will use depends of the settings at 

Preferences separator_breadcrumb.png Image 

An example of an image is

http://stickit.gr/img/p/2/3/8/9/6/23896-thickbox_default.jpg

 

 

I have added at line 326 of gsitemap.php ,located at /modules/gsitemap/  the ,'thickbox_default'

 

Original line

$image_link = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.(int)$id_image['id_image']);

 

Altered line

$image_link = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.(int)$id_image['id_image'],'thickbox_default');

 

:mellow:

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

sorry - but isn't text more important than pic? i read somewhere that robots don't care about pictures only text... but maybe I'm totally wrong... don't hate me - I will check it, but if someone know better - help now 

 

The reason why having the images indexed is important to many webmasters is because image search can and will lead to clicks to your website too - IF the images are indexed by Google. It might not drive as much search traffic as organic listing for the web section of Google, but hey, even if image search only brings you 10-100 visitors a day, it still is traffic.

Link to comment
Share on other sites

  • 2 months later...

Prestashop 1.5.6.1 and gsitemap 3.0.3 same problem

 

line 378 of gsitemap: $image_link = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.(int)$id_image['id_image'], 'large_default');

 

 

How can i fix ?

 

use thinkbox instead of large_default

 

we solved in that way

Edited by Gipielle (see edit history)
Link to comment
Share on other sites

Is this correct ?

 

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
<url>
<loc>
<![CDATA[
]]>
</loc>
<priority>0.9</priority>
<lastmod>1970-01-01T01:00:00+01:00</lastmod>
<changefreq>weekly</changefreq>
<image:image>
<image:loc>
<![CDATA[
]]>
</image:loc>
<image:caption>
<![CDATA[ Articolo: Beta 910B L22 Codice: 009100322 ]]>
</image:caption>
<image:title>
<![CDATA[ BUSSOLE POLIGONALI LUNGHE 3/8 910BL 22 ]]>
</image:title>
</image:image>
</url>
 
or the cdata may cause problems ?
Link to comment
Share on other sites

  • 3 weeks later...

Prestashop 1.5.6.1 and gsitemap 3.0.3 same problem

 

line 378 of gsitemap: $image_link = $this->context->link->getImageLink($product->link_rewrite, $product->id.'-'.(int)$id_image['id_image'], 'large_default');

 

 

How can i fix ?

 

Same with me ...,  any solution for that ?

Link to comment
Share on other sites

  • 1 year later...
  • 10 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...