Wrong image on Google+ page

  • Posts: 261
  • Thank you received: 5
11 years 3 months ago #154464

-- url of the page with the problem -- : www.artlantismedia.com
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 2.5

When I want to promote products on my Google+ businesspage the post always shows the wrong image.
It does work correct on my Facebook Business page but not on Google+.
The Google+ post always shows the header image of my website and not the image of the product I want to promote.
Anyone having the same problem?
Any advise how to solve this?

Best regards

Sjaak Boer

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 3 months ago #154656

Hi,

Thanks to edit the view "product / show" and add the following code at the top of the file between php tags:

$doc = JFactory::getDocument();
$image = hikashop_get('helper.image');
$height = (int)$this->config->get('product_image_y');
$width = (int)$this->config->get('product_image_x');
$image_options = array('default' => true,'forcesize'=>$this->config->get('image_force_size',true),'scale'=>$this->config->get('image_scale_mode','inside'));
$imgPath = isset($this->element->images[0]->file_path)?$this->element->images[0]->file_path:$image->file_path;
$img = $this->image->getThumbnail(@$imgPath, array('width' => $width, 'height' => $height), $image_options);
$imgPath = HIKASHOP_MEDIA.'upload'.DS.$img->path;
$doc->addCustomTag( '<meta itemprop="name" content="'.$this->element->product_name.'">' );
$doc->addCustomTag( '<meta itemprop="description" content="'.$this->element->product_description.'">' );
$doc->addCustomTag( '<meta itemprop="image" content="'.$imgPath.'">' );
That should add the correct meta tags for google+.

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
11 years 3 months ago #154755

Hi Xavier,

Thank you, I edited the view as you suggested and indeed another image showed. Only not the image I need. Now an image coming from the product description is added to the Google+ post and not the product image.

Do I need to change something?

Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
11 years 3 months ago #154807

Hi,

There is no need to add such code. The HikaShop microdata plugin already add these tags on the product page. Simply publish it via the Joomla plugins manager.

The following user(s) said Thank You: Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
11 years 3 months ago #154817

Thanks Nicolas,

That did the trick.
If one only could know what every feature in hikashop is about. :silly: :woohoo:

Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
10 years 8 months ago #181266

HI,

The microdata plugin did the trick for about 6 months.
With the plugin enabled I can't get the product image shown in my Google+ promotions anymore.

Any idea How to solve this?

Thanks

SJak

Please Log in or Create an account to join the conversation.

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 8 months ago #181341

Hi,

If you look at the google microdata validator, the image is found with the microdata:
www.google.com/webmasters/tools/richsnip...ship%26Itemid%3D2249
So Google knows about it.
I suppose that it is because of your robots.txt which doesn't authorize google to look into the media folder that google doesn't display the image anymore :
www.artlantismedia.com/robots.txt
I would recommend to remove that line.

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
10 years 8 months ago #181540

Hi,

mmmh strange. The robots.txt file hasn't been changed for over 6 months. I followed your advice and removed the line. Still no change.

Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 8 months ago #181550

Hi,

I checked further your page and it would seem that it could either come from the facebook module on your right column messing up the open graph meta tags on the page, or the images themselves:

Images that are too small or not square enough are not included in the +Snippet, even if the images are explicitly referenced by schema.org microdata or Open Graph markup. Specifically, the height must be at least 120px, and if the width is less than 100px, then the aspect ratio must be no greater than 3.0.

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
10 years 8 months ago #181619

HI Nicolas,

Thank you for your efforts.

Some observations. I disabled the Facebook module to see if it was the cause. After that I tried to create a Google+ snippet. .....Same effect. The product image was not shown.
If, as you say, my Facebook module messes up the open graph meta tags te n I am open to use another one. Can you recommend one that does not mess up things?

(Almost all) My productimages are at least 400x400px. Square. I have set my thumbnail images to 80x80px. Would that be the cause? I can hardly imagine this because I can choose between all the other thumbnails of products on the page except the thumbnail of the product I want to show.

Besides that.....I was able to place products on my Google+ account without problems until nov 5. I didnt change anything in the layout of the website nor did I change settings of Hikashop.
One thing was changed about 2 weeks ago. I installed an app that was created by Jerome to add a feature to my shop. (TOPIC: availability subsctiption products) I tested if that could have been the cause. Well, with the plugin disabled I still cannot share productimages on Google+.

Are there any changes in the Google Ivory towers that can cause this? It is becoming a real puzzle now.

Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 8 months ago #181654

Hi,

Yes, it's probably a change on Google's end. I was just trying to find clues to help you find a solution to counter that change.
Maybe it comes from the robots.txt and it takes time for google to re index it so that he can use the images under media ?
Maybe the best would be for you to contact google webmaster's support for help ?
Because the image is still correctly added to the microdata, with the correct link and even the validator sees it, so we're good on our end...

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
10 years 8 months ago #182876

Well, I waited som time to give Google a chance to re-index.
Still no improvement. Now I have the same problem with facebook as well.

About Asking Google webmaster support for help. I don't know anything about coding or how google sets their searchengine. So what question would I ask?? I have no idea. Next to that....Google has a very doubtful reputation when it comes to answering questions. :blink:

All I know is that I was able to post products in my shop on my Facebook wall and on my Google+ page and from one day to another I can't. without changing anything.

Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
10 years 8 months ago #182937

I updated Hikashop to 2.3.4 about a month ago (nov 12 2014)
This problem appeared after that.
Reading this forum I discovered that a new Social plugin with the update to 2.3.4has been added while the old plugin still exists.

Can there be a conflict with the new plugin?

Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 8 months ago #183209

Hi,

You can look in the joomla plugins manager. Search for "social network". If you have the two plugins you'll see one in the "content" group and one in the "system" group.
The one in the content group is the old one and the one in the system group is the new one.
You only need one of them enabled.
You can try with one or the other and see if it helps when you change between them. Again you might need to wait for a few days that the pages got re-indexed.

Regarding what you could ask to google's support, here is an example:

I have microdata added to the page www.artlantismedia.com/index.php?option=...mbership&Itemid=2249
There is microdata for the image but the image doesn't display on the search result for that page:
www.google.com/webmasters/tools/richsnip...ship%26Itemid%3D2249
As you can see there, the validator find the image but the preview doesn't show the image. Could you tell me what is the problem ?

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
10 years 7 months ago #183845

Hi Nicolas,

I tried both types of the plugin. No visible changes.
Currently I have the new plugin activated.

I also tried to get some help with Google+. I couldn't find something like 'support department'. Lucky enough I found a forum where I could ask my question and some visitors where kind enough to give me some answers.
But the answers really where too technical for me since I really am a noob when it comes to coding and all the fancy terms web developers use.

Is it possible for you to get some valuable info from their answers?
Here is my topic in the Google forum: groups.google.com/a/googleproductforums....gleproductforums.com .

Thanks

Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 7 months ago #183856

Hi,

Yes, they said that Google doesn't support product images for rich snippets.
So that means that Google is not displaying images for products in search results thanks to microdata.
I've search a bit more following that and that's what everyone else is saying:
stackoverflow.com/questions/14147184/how...ge-in-a-rich-snippet
As someone says there, Google can support it via the Google Merchant center. So maybe that's why you saw the images before ? Did you upload your products to Google Merchant using the Google Products plugin included in Hikashop ?

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
10 years 7 months ago #183995

Hi Nicolas,

Thanks for all your efforts.
No I never uploaded products to Google merchant.
I may investigate in doing so in the future but currently that is not the case.

Coming back on the issue. Previously in this topic I got the impression that the hikashop social plugin was meant to use it for posting products in social media. I was happy with that because it really helped in promoting products. Now it seems to turn out differently. As it is now I am not able to promote products on social media as I was used to. The effect is a dropdown in visitors/sales.

Please explain what the purpose of the hikashop social plugin really is?
What alternative do we have to effectively promote hikashop products on social media?

Thanks

Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 7 months ago #184001

Hi,

The plugin displays "like" buttons on the product pages so that the customers can click on them in order to share the product on their facebook/google+/twitter/pinterest wall/feed.
It helps in the promotion of the products, but only if people share the products on their wall/feed by clicking on the like buttons.
Having the plugin enabled doesn't promote the products on social media per se.
That's why we didn't add these buttons on our products on our website as we don't see why people would share our products on their social networks with their friends as our products are for business use.

A more effective way of promoting products, is to have quality content on your website. For example, you could have a blog with valuable information that could interest the people interested in buying your products and then share these articles on social media. That's way more effective, and even could increase your page rank on search results in the long run.
It's actually something we should do too on our website, if only we had more time to focus on marketing... Giving tips and tricks on building great online shops would surely interest many users and increase our promotion via social networks.
From what I understand, that's what any SEO expert will tell you: rather than focus on the details of your website SEO, it's better to use that time to create great content.

The following user(s) said Thank You: Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
10 years 7 months ago #184090

Hi Nicolas,

Thanks.
We're on the same boat then :blink:

I also spend the most time on creating the products I sell. I hoped to find a way to promote the products directly via social media. There are quiet some Facebook and Google+ groups that target the users of the software I am aiming at. For those groups it would be great to post new products and gain visitors. I used it successfully until images didn't show anymore in the links I want to show.

Well, it seems I need to go write interesting content to gain more visitors.

Sjaak

Please Log in or Create an account to join the conversation.

Time to create page: 0.097 seconds
Powered by Kunena Forum