Skip to main content
Topic: Google Plus Image Grabber (Read 1608 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Google Plus Image Grabber

When i post a link in my Google Plus community i get an unknown image, how to replace this image? (near the PC Power Supply)

gplus.PNG

Re: Google Plus Image Grabber

Reply #1

I'm not sure, I don't use google plus (nor other social networks), it may be it looks for some "og" meta tag or similar, try looking at g+ documentation and see if you can find what it looks for. After that it may be possible to come up with a solution.
Bugs creator.
Features destroyer.
Template killer.

Re: Google Plus Image Grabber

Reply #2

Ok, i will check with Google Plus and come back

"The og:image meta tag is being used by google plus rather than the image property"

Hope this gives some insight on it - https://developers.google.com/+/web/snippet/
Last Edit: May 20, 2018, 10:09:07 am by Jason

Re: Google Plus Image Grabber

Reply #3

Well, then something like:
Code: [Select]
<meta property="og:image" content="' . $context['favicon'] . '" />


after:
Code: [Select]
<link rel="shortcut icon" sizes="196x196" href="' . $context['favicon'] . '" />
in index.template.php should do.
Bugs creator.
Features destroyer.
Template killer.

Re: Google Plus Image Grabber

Reply #4

You may take a view at my simple site source if you like, here, where I cover twitter as well.

Re: Google Plus Image Grabber

Reply #5

Thank you so much for the code, it works perfectly.