is there a way to place a image + lightbox into the cell of a table? I’ve managed to place the image with a simple tag. How do I get to place an lightbox in there? I tried something like this – which doesn’t give me the functionality of the lightbox though.
<a href="IMAGE HERE" class="avia_image lightbox-added"> <img class="avia_image " src="THUMBNAIL HERE" alt="" title="" itemprop="thumbnailUrl"> </a>
I’d appreciate your assistance.
Create under your table a text-block element.
First insert one image after the other by adding media file to it:
( click to enlarge ):
(Purchase code hidden if logged out) -13-01-33.jpg”>(Purchase code hidden if logged out) -13-01-33.jpg” alt=”” />
you see that i have choosen to have link “media file”
that it is centered – and perhaps a caption.
Now change to text editor mode of that to see the html code for it.
Each image now you can copy paste that html code
Paste this code to your cells – and after that you can delete your helping text block element
if you have a lifelink for us – the class lightbox-added comes with the method above automatically to the image. So i do not understand why your code does not work as it should
See here my test page: https://webers-testseite.de/images-in-table-cells/
Thanks @guenni007! – works perfectly!
I threw in a title=”Whatever” and it looks great.
Have a great one!
Great, glad you got it working and thanks to @guenni007 for helping out :-)
Please let us know if you should need any further help on the topic or if we can close it.
The topic ‘Image + Lightbox into a Cell of a Table Element’ is closed to new replies.