• Not sure if this is a plugin, wordpress or facebook issue, but when Im sharing an image from a lightbox plugin (iLightbox) w/o deep linking, the facebook preview image is exactly the image shared (what I want), but the downside is clicking that share image on facebook opens a new browser window with the image. However, when I enable deep linking and share the image, the preview image on facebook is pulling from somewhere on the page, but its not the specific shared lightbox image. On the other hand, and this is what I want, clicking on that share takes you exactly to the page on the site with that image opened in the lightbox. I just want to fix it so I can have the facebook preview image be the image shared, like in the first example, but behave like in the 2nd example.

    Example: https://linesandmarks.com/ilightbox-test/

Viewing 1 replies (of 1 total)
  • Thread Starter romeoart

    (@romeoart)

    p.s. I have these options but I dont understand how to use them and there are also calls I can make when the lightbox opens but dont know how to do that either. ??

    FROM THE MANUAL
    You can customize buttons in your personal way:

    1
    {
    2
    facebook: {
    3
    URL: “https://example.com/path/”,
    4
    text: “Share it on your Timeline”
    5
    },
    6
    twitter: true
    7
    }
    And also you can add another custom button:

    1
    {
    2
    custom_button: {
    3
    source: “https://example.com/share?url={URL}”,
    4
    text: “Share on Custom Button”,
    5
    width: 720,
    6
    height: 420
    7
    }
    8
    }

Viewing 1 replies (of 1 total)
  • The topic ‘deep linking facebook sharing preview image’ is closed to new replies.