Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author dFactory

    (@dfactory)

    Hi,

    Can you post a link to your site?

    Thread Starter arthurbro

    (@arthurbro)

    Hi,

    Here is an example . The page has one single image, and a two-images gallery (in the bottom right corner).

    Thanks for your help

    Thread Starter arthurbro

    (@arthurbro)

    Hi,

    Can you confirm the lightbox is only enabled on images published AFTER the plugin activation ? It might explain this phenomenon…

    Thanks

    Plugin Author dFactory

    (@dfactory)

    Nope. It works for all the images in the post content if applying lightbox to single images and / or galleries is enabled.

    btw. the link you posted above is not working.

    Plugin Author dFactory

    (@dfactory)

    Ups, it works – had to wait a bit.

    Hard to say which images on this page come from the post content but I assume it is the one in the topl left corner of the page.

    The HTML content you have indicates that you are using a plugin / content editor replacement maybe, not the native WP editor. Am I right?

    Thread Starter arthurbro

    (@arthurbro)

    Yes I wanted you to see the image on the top left corner.

    I use Black Studio TinyMCE Widget .

    Plugin Author dFactory

    (@dfactory)

    Than this is not a post content but a widget.

    It will not work automatically for widgets. But it would be a nice functionality (don’t know if possible yet)

    Thread Starter arthurbro

    (@arthurbro)

    You’re right, it only works when I use the native editor (no effect with advanced editors, I tried 2 of them) 🙁

    If you have any solution (even if I have to edit your code), please let me know !

    Thanks in advance

    Plugin Author dFactory

    (@dfactory)

    Yes, becaouse the images come from post content not the widget.

    Thread Starter arthurbro

    (@arthurbro)

    Hi,

    Would you have any idea to make it work, some lines of code I could add to your plugin ?

    Thanks for your help

    Plugin Author dFactory

    (@dfactory)

    You can manually add data-rel=”lightbox” to image links in the widget.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Single images’ is closed to new replies.