• Resolved icemanmc

    (@icemanmc)


    Hi there. I have a problem with preview photo in facebook posts shared by your plugin.
    Perhaps these questions are stupid but I am a layman.

    I have a page where I have a gallery of some photos.
    When I shared a photo as post on facebook first time all was good. Preview photo in facebook post was the same as image in lightbox. But every next try to share image from a lightbox ended with displaying first photo from the gallery.
    For example. I am sharing a fifth photo from gallery and in the post on facebook I see first photo from the gallery as preview.

    And one more. If I click in a post on fb it’s loading jpg file, not a picture in a lightbox. Is this correct?

    Sorry for my english but i don’t use a translator ??
    Thx for answers.
    Grtz.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Roman Fl?ssler

    (@florcz)

    Hi. Unfortunately that is a matter of Facebook. FB takes a preview photo from the page (from the meta tag og:image), it is not possible to set particular photo in the share link :-(.

    But there is one thing you can do. If you set featured image of the article (in the WP editor), the og:image meta tag should point to that image. If it doesn’t point, there are social sharing plugins for it. Before each sharing on Facebook, you will have to set the featured image to the image you want (it will alter og:image metatag). And Facebook will show the image you have set. There is no other way.

    FB should not load jpg file, because SSG gallery is setting the url adress of the page with hashatag with image name. There might be problem with metatags, if they are set to the first image and not to url of the page. Maybe try some other social sharing plugin, which can alter OpenGraph metatags in the right way. Social sharing of your page on Facebook is directed by those metatags. I use plugin Open Graph Meta Tags for that.

    Plugin Author Roman Fl?ssler

    (@florcz)

    resolved

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with the previev photo in fb posts’ is closed to new replies.