Topic-icon Custom images for social media shares

 I am fairly new at useing JFB Connect. How do I edit the images that get share when someone copies and share a link from my page?

Some links share our logo and some do not.

Thanks in advance!

Luke
The topic has been locked.
Support Specialist
3 years 1 month ago - 3 years 1 month ago #67094 by mel
This is generally accomplished using Open Graph tags. Social networks will scrape pages for these tags to generate the share previews. The image is specifically set with the og:image and twitter:image tags. If a social network doesn't find a tag, it will make an educated guess at which image would be appropriate, leading to different images across social network sharing.

There are a few ways you can add these with JFBConnect:
1. Enable the appropriate Open Graph plugin that comes with JFBConnect, for example 'Open Graph - Content' for Joomla articles, etc. JFBConnect will automatically pull the first article into og:image

2. Manually insert an easy-tag into your content like the following, which JFBConnect will turn into a tag
{SCOpenGraph image=http://domain.com/full/path/to/betterimage.jpg}

3. Set a default image for all of your pages with the JFBConnect backend > Social Meta > default setting

4. If you'd like further control of #1, like which image to pull, you can also set up an Open Graph object ( as described here ).

More info on #1-3 are found here .

Please note that after you set tags, the social networks will have to re-scrape your pages for the new values to take effect. Facebook, for example, has a tool for you to manually scrape to view changes immediately - developers.facebook.com/tools/debug/

Let us know if you have any further questions.

-Melissa
Last edit: 3 years 1 month ago by mel.
The topic has been locked.
3 years 1 month ago #67097 by sdwebmaster
Thank you so much.

I just want the default image for all pages to be the logo.

I am struggling most with the Kunena forum we are using. I want the logo to be shared and not the topic image.

Any simple steps?

Thank you in advance!

Luke
The topic has been locked.
Support Specialist
3 years 1 month ago #67101 by alzander
Kunena adds the og:image tag to pages automatically. Generally, if the image is related to the topic, we'd recommend keeping it. However, if the image is the default Kunena image (looks like a mail icon), you may want to replace that default image with your own logo.

That way, the image will either be the topic-related image or a fallback of your logo.

Usually, the Kunena default logo is located at:
/media/kunena/email/hero-wide.png

Simply update that with whatever image you'd like and see if that helps with what you're looking to do.

Thanks,
Alex
The topic has been locked.