× Joomla Facebook Connect support forum

Topic-icon PROBLEM WITH IMAGE OF LIKE

Active Subscriptions:

None
12 years 7 months ago #14239 by baronti
Hi, i have this problema, from always...
(in K2 and joomla articles)

attachment images
please help me..
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #14240 by baronti
Replied by baronti on topic PROBLEM WITH IMAGE OF LIKE
sorry... here:

File Attachment:


File Attachment:
The topic has been locked.
Support Specialist
12 years 7 months ago #14242 by alzander
Replied by alzander on topic PROBLEM WITH IMAGE OF LIKE
To specify the image you want used when the Like is clicked, you need to use Open Graph tags. Open Graph integration in JFBConnect is enabled by default, but you can check the setting in the Social Configuration -> Open Graph tab. Then, 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,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #14245 by baronti
Replied by baronti on topic PROBLEM WITH IMAGE OF LIKE
this param no work?
"Use first image in article for default"
The topic has been locked.
Support Specialist
12 years 7 months ago #14254 by alzander
Replied by alzander on topic PROBLEM WITH IMAGE OF LIKE
That setting should work on any Joomla or K2 articles. If that's not the type of page, then you'd need to specify it manually.

Can you post (or Private Message) me a link to the page with the problems?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #14271 by marcusfive
I have the same problem.
Clicking the like, it published an image of the template.
I use k2, and i have set: "Use first image in article for default"

how can solve?
Thank You
The topic has been locked.
Support Specialist
12 years 7 months ago #14282 by alzander
Replied by alzander on topic PROBLEM WITH IMAGE OF LIKE
That setting should work. What kind of view are you in? Article view, blog view, etc? If it's not working for you, please post a URL of the page so we can take a look.

Also, you can use Facebook's URL debug tool to see if there are any issues that show up on your page, and it should also show you the image it's choosing and why:
developers.facebook.com/tools/debug

Good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #14286 by marcusfive
It don't work for all page, my site is:
http://www.mygenerationweb.it/

please can help me, do not know how to solve.

Thank You
The topic has been locked.
Support Specialist
12 years 7 months ago #14294 by alzander
Replied by alzander on topic PROBLEM WITH IMAGE OF LIKE
Marcus,
The "Use First Image" setting of JFBConnect currently only uses the first image actually inserted into an article. With the way that Joomla Content plugins work, we're unable to 'see' a K2 Image specified for an article if it's not actually in the article text. This is something we're looking into making work in a future release, but for now, if you're using the "Image" tab in a K2 article, it will not be detected by the JFBCContent plugin. In this case, you will need to explicitly set the article image using the {JFBCGraph image=http://www.xxx.com/image.jpg}

Hope that helps explain why it may not be working,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #14304 by marcusfive
To ok, all clear.
I hope soon to implement this new work.
For now I have to put the tag in the HTML code for each item?
And there is a function that automatically calculates the path to the K2 image?

Thank You
The topic has been locked.