0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

How to have article's image shown when shared in facebook?

    • Enrico's Avatar
    • Enrico
    • Sr. Rocketeer
    • Posts: 234
    • Thanks: 0

    How to have article's image shown when shared in facebook?

    Posted 15 years 7 months ago
    • When I share my articles on facebook, the article's images aren't included (=can't be chosen) as previews. Why?

      I've added the below code within <head> of index.php to show a preview of my website, in case articles don't have images. And it works.
      <link rel="image_src" href="http://www.website.com/preview.jpg" />
      Articles' metadata descriptions are also working.

      The only thing not working is articles' images not shown in facebook.

      Anyone?

      Thanks.
    • Jamesso's Avatar
    • Jamesso
    • Elite Rocketeer
    • Posts: 500
    • Thanks: 0

    Re: How to have article's image shown when shared in facebook?

    Posted 15 years 7 months ago
    • Enrico's Avatar
    • Enrico
    • Sr. Rocketeer
    • Posts: 234
    • Thanks: 0

    Re: How to have article's image shown when shared in facebook?

    Posted 15 years 7 months ago
    • Thanks for the link, Jamesso. I'll have a look. :D
    • Enrico's Avatar
    • Enrico
    • Sr. Rocketeer
    • Posts: 234
    • Thanks: 0

    Re: How to have article's image shown when shared in facebook?

    Posted 15 years 7 months ago
    • I've tried adding the <link rel="image_src".... code in articles with no luck.

      Do you think the <link rel="image_src" in template's index.php overrides the one in the articles?
    • Jamesso's Avatar
    • Jamesso
    • Elite Rocketeer
    • Posts: 500
    • Thanks: 0

    Re: How to have article's image shown when shared in facebook?

    Posted 15 years 7 months ago
  • Re: How to have article's image shown when shared in facebook?

    Posted 14 years 8 months ago
    • Hi, i just found this old thread while searching for a solution for my problem. I had no luck at all - not even with the link-rel code in the head of my page (but maybe I screwed it up...)

      Just posted the problem here, maybe you have found a solution already and could give me a hint ... ?

      www.rockettheme.com/forum/index.php?f=92..._v=viewtopic#p559851

      Best regards,
      kryz
  • Re: How to have article's image shown when shared in facebook?

    Posted 14 years 7 months ago
    • Yeah, found the problem! It was the plugin "Bad Behaviour". Now everything's fine.

Time to create page: 0.071 seconds