WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddToAny
[resolved] Lightbox (5 posts)

  1. astrasuite
    Member
    Posted 10 months 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 :)

    Thanks

    http://wordpress.org/plugins/add-to-any/

  2. micropat
    Member
    Plugin Author

    Posted 10 months 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
    Member
    Posted 10 months 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.

    http://www.astrasuite.com/astrablog/absolare-gallery/

    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
    Member
    Posted 10 months ago #

    Any possibility, micropat ? Thanks

  5. micropat
    Member
    Plugin Author

    Posted 9 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.