- Posts: 7
COMMUNITY FORUM
K2 image lightbox
- Jc PlugnGeek
-
Topic Author
- Offline
- New Member
Less
More
11 years 1 month 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
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.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month 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" .
Please Log in or Create an account to join the conversation.
- Jc PlugnGeek
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 7
11 years 1 month 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>
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.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #132522
by Lefteris
Replied by Lefteris on topic Re: K2 image lightbox
You are welcome.
Please Log in or Create an account to join the conversation.