• Resolved annesophievax

    (@annesophievax)


    Hello ! I saw on AddtoAny’s website that the social sharing icons work in galleries, lightboxes etc. I currently have FooGallery and it’s freemium Lightbox on my site, but I have been unable to make the icons appear on the individual images when they are viewed within the lightbox. How can I make them appear ?

    Any help would be much appreciated ! Thank you !

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author micropat

    (@micropat)

    Hello!

    Use AddToAny image sharing to make that happen.

    For page speed, share buttons will appear when hovering over images (desktop) and tapping on images (mobile). In the future (when more browsers support optimizations) AddToAny will offer an option for “static” share buttons that stay displayed on images.

    Enable image sharing by adding some code to your “Additional JavaScript” box in Settings > AddToAny:

    a2a_config.overlays.push({
        services: [ 'pinterest', 'facebook', 'twitter', 'tumblr', ],
    });

    And to fix your vertical floating bar, just switch it back to “Left docked” or “Right docked” instead of “Attach to content”.

    Thread Starter annesophievax

    (@annesophievax)

    Hello again !

    Thank you for that code it worked a charm. That said, it does also make the buttons appear on all the “decorative” images on my website. I would like them only to appear on the images present in the gallery https://www.pokervoyageur.com/photos/
    Is there any way I can specify that location, or exclude everywhere else except there ?

    Thank you so much !

    Thread Starter annesophievax

    (@annesophievax)

    I have actually just realized that the Instagram share button has receives an error when clicked on : Service Not Found
    AddToAny does not support the service you are trying to add to. This service may have been removed, or the website you came from is pointing to an invalid service.

    Thanks for your help on both of these issues ! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding share buttons to Lightbox’ is closed to new replies.