AddToAny Share Buttons
[resolved] Lightbox (5 posts)

  1. astrasuite
    Posted 2 years ago #

    Hi, micropat, is there a way for Share buttons to be shown in Lightbox images ?

    I'm sure thousands of users will want this :)



  2. micropat
    Plugin Author

    Posted 2 years ago #

    Hey there! It's certainly possible but will require some work depending on your theme and/or lightbox plugin. Which of those are you using for your lightbox?

    Also, how exactly would you want AddToAny to display in your lightbox? Statically; always-visible, and where? This will be easier in the future. Thanks for your feedback. :)

  3. astrasuite
    Posted 2 years ago #

    Hi, micropat,

    I use Simple Lightbox ... I like this as it works great even on mobile devices like smartphones - i.e. can pinch to enlarge or reduce image view

    I want it to show like the social share in the example below (click on any thumbnail to show), although this social share is only for Nextgen images. I was thinking AddtoAny will be better as it will be for all Lightbox images, not just Nextgen.


    Nobody can do this at the moment, if you can do it, it will be a milestone. There are other plugins like Social Gallery and a Lightbox one one I saw at CodeCanyon that actually uses AddToAny, but again, their stuff don't work well on mobile devices, so it's all half-baked, as there are millions of mobile device users.

  4. astrasuite
    Posted 2 years ago #

    Any possibility, micropat ? Thanks

  5. micropat
    Plugin Author

    Posted 2 years ago #

    It's possible to render AddToAny using JavaScript, so it's largely a question for the Simple Lightbox author:

    How best to inject HTML content into the lightbox, and also call a JavaScript function after the injected content has rendered?

    I see some of Simple Lightbox's extensibility is documented here — things may have changed since that beta, so it would be best to ask the author for a code example for this use case.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AddToAny Share Buttons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.