Keyword

K2 image lightbox

  • Jc PlugnGeek
  • Jc PlugnGeek's Avatar Topic Author
  • Offline
  • New Member
More
10 years 3 days ago #132519 by Jc PlugnGeek
K2 image lightbox was created by Jc PlugnGeek
Hi,

I'm new with K2 and I have a lightbox problem.

The first image (added in image TAB) works with lightbox but content images haven't lighbox. Is it normal ?

Exemple :

www.plugngeek.net/test-gauntlet

Cover image : lightbox
2nd image in content : no lightbox
3rd image in content : no lightbox

Thank you

Please Log in or Create an account to join the conversation.

More
10 years 2 days ago #132520 by Lefteris
Replied by Lefteris on topic Re: K2 image lightbox
Hi. Yes this is the default behavior. The main image can have a lightbox since the system knows where to find the big image and creates the link automatically. When you insert an image in the text there is only one image size and no link. You can always create modals in the text by adding a link with class "modal" .

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Jc PlugnGeek
  • Jc PlugnGeek's Avatar Topic Author
  • Offline
  • New Member
More
10 years 2 days ago #132521 by Jc PlugnGeek
Replied by Jc PlugnGeek on topic Re: K2 image lightbox
Thank you very much !

For users, an example :

Original image link:
<title="Gauntlet" href="images/semaine/aout26/gau-02.jpg" ><img src="images/semaine/aout26/gau-02.jpg" alt="Gauntlet" width="500" height="281" /></a> </p>

For lightbox add this : a class="modal" rel="{handler: 'image'}" :

<a class="modal" rel="{handler: 'image'}" title="Gauntlet" href="images/semaine/aout26/gau-02.jpg" ><img src="images/semaine/aout26/gau-02.jpg" alt="Gauntlet" width="500" height="281" /></a> </p>

Please Log in or Create an account to join the conversation.

More
10 years 2 days ago #132522 by Lefteris
Replied by Lefteris on topic Re: K2 image lightbox
You are welcome.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum