Topic-icon Image Pull from Like button Not from article

Active Subscriptions:

None
12 years 8 months ago #12875 by Carnster
Hello,
First Thank you for the reply on previous issue adding Login with Facebook to JomSocial and kunena.

New Problem I am having is that - when I click on the LIKE button on an article (at least when featured on the frontpage) it pulls and image from the right side bar rather than from the article itself.

www.gamedemo.com/crew_room/
click on Duex Ex

ideas?
The topic has been locked.
Support Specialist
12 years 8 months ago #12881 by alzander
Carnster,
No problem for the support. Thanks for your subscription, which lets us keep developing new features and providing our high level of support!

With that said, to get the image you want, you need to use Open Graph tags to specify the image you want to show when the Like button is clicked. You already have the Open Graph integration enabled, so all you need to do is add the following tag to your article to specify the image you want used:
{JFBCGraph image=http://site.com/link-to-image.jpg}
It will take Facebook 24-48 hours to update the image for new like's, so if you try right away, you may not see a difference. You can use the debug tool to see what Facebook 'sees' on your page from the Open Graph tags:
developers.facebook.com/tools/debug

Finally, you can also use the Open Graph tab in the social configuration area to specify a default image, in case you haven't explicitly set one on a page using the tag above. This is good for using your logo or something, just to make sure some random image isn't shown. To do so, add the following tag into the defaults box:
image=http://site.com/good-default-image.jpg}

Hope that helps, but if you have any other questions, just let us know.
Alex

P.S. Deus Ex Human Evolution rocks!
The topic has been locked.