Forum
Welcome, Guest
Please Login to access forum.
How to set what image the facebook share button uses? (1 viewing) 
Go to bottom
TOPIC: How to set what image the facebook share button uses?
#2288
Cefnllys
Fresh Boarder
Posts: 3
User Offline
How to set what image the facebook share button uses? Karma: 0  
Hi there, I really like this plugin but I am having trouble setting what image the facebook share button uses. I have tried putting

<meta property="og:image" content="http://www.koimag.co.uk/images/EA-FilterStartGel.gif">

in to the article itself, but this does not affect the image that is selected.
can someone please help with this?

I will have to look for an alternative plugin if this cannot be resolved so any help would be greatly appreciated

Thanks Cefnllys
 
Logged Logged  
  The administrator has disabled public write access.
#2289
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:How to set what image the facebook share button uses? Karma: 79  
Hello Cefnllys,

the meta tag you placed is ok. The problem is not the plugin itself, this must be controlled using the meta tags as you are doing.
Keep in mind that after placing that image meta tag you have to refresh the facebook cache using the Facebook debug in order to test the meta tags interpreted by Facebook on your page and refresh the cache.
https://developers.facebook.com/tools/debug/

Cheers,

John
 
Logged Logged  
  The administrator has disabled public write access.
#2290
Cefnllys
Fresh Boarder
Posts: 3
User Offline
Re:How to set what image the facebook share button uses? Karma: 0  
Hi John, thanks for the reply but i have tried what you suggested and nothing has changed
if you follow this link:
http://www.koimag.co.uk/index.php/component/content/article?id=6

then you can see the article with share buttons at the bottom. the image which is displayed is not from the article however if you go to:
https://developers.facebook.com/tools/debug/og/object/

and put in the above link you can see that it is acctually trying to pick up the right image but on the real page it is not correct.
 
Logged Logged  
  The administrator has disabled public write access.
#2291
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:How to set what image the facebook share button uses? Karma: 79  
Hi again,

i had a look at your site, but Facebook is right. Probably your error is due to the position where you have placed the meta tag
Code:

<meta property="og:image" content="http://www.koimag.co.uk/images/EA-FilterStartGel.gif">
It must be in the <head> not in the <body> Indeed Facebook completely ignores it and reports
QUOTE:
Errors That Must Be Fixed
Joomla doesn't support natively the management of meta tags of this type as for now.
 
Logged Logged  
  The administrator has disabled public write access.
#2320
Cefnllys
Fresh Boarder
Posts: 3
User Offline
Re:How to set what image the facebook share button uses? Karma: 0  
Ok so we tried to add a pre-defined image into the head that would work for all pages but we still get the same result even though if we scrape the page with the debugger it says it is going to use the right image...
 
Logged Logged  
  The administrator has disabled public write access.
Go to top