Hi,
Can you post a link to your site?
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
Hi,
Can you confirm the lightbox is only enabled on images published AFTER the plugin activation ? It might explain this phenomenon…
Thanks
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.
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?
Yes I wanted you to see the image on the top left corner.
I use Black Studio TinyMCE Widget .
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)
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
Yes, becaouse the images come from post content not the widget.
Hi,
Would you have any idea to make it work, some lines of code I could add to your plugin ?
Thanks for your help
You can manually add data-rel=”lightbox” to image links in the widget.