Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1063613

    Hi,

    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.

    #1063621

    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

    • This reply was modified 6 months, 2 weeks ago by  Guenni007.
    #1063624

    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/

    • This reply was modified 6 months, 2 weeks ago by  Guenni007.
    #1063709

    Thanks @guenni007! – works perfectly!

    I threw in a title=”Whatever” and it looks great.

    Have a great one!

    #1063968

    Hi tebitrongmbh,

    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.

    Best regards,
    Rikard

    #1064030
    This reply has been marked as private.
    #1064464

    Hi,

    Great, thanks for letting us know. I’ll close this for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Image + Lightbox into a Cell of a Table Element’ is closed to new replies.