add data-rel=”lightbox” to the image’s link
Thanks, but not it is working.
This is the link with the change
<img class="aligncenter wp-image-34 size-full" src="http://www.wordpressnapoli.it/wp-content/uploads/2015/11/Wordpress-Backend.png" alt="Wordpress Backend" width="1273" height="589" data-rel="lightbox"/>
because it does not work?
You added data-rel to image, while it should be added to image link.
<a href="link" data-rel="lightbox"><img ... /></a>
Ok thank you, I understand.
It works, but you can not do it automatically?
You must always put the code by hand?
Nope. You have options for this in plugin settings. But if you want to use it manually in the theme, then yes, it is required.
In the next version you will do this implementation? That is, to enter the lightbox effect automatically into single image?
Instead of data-rel=”lightbox” is it possible specify a class?
Regards
Angelo
I do not know Angel, but the suggestion that they gave me work, I just hope that they will automatically
nope, it will not work for a class. the RL is using data-rel=”lightbox” (or your specified selecter) as the lightbox trigger.