Answer the question
In order to leave comments, you need to log in
JoomGallery + LightGallery, how to make them friends?
What do we have?
1. Site on Joomla.
2. Installed JoomGallery.
3. Connected LightGallery script.
What we want?
So that when viewing an album, photos open in LightGallery (instead of standard Slimboxes).
I can not determine which link to put in the source.
LightGellary connects simply.
$(document).ready(function(){
$("#lightgallery a").lightGallery();
});
<div id="lightgallery">
<a href="img/img1.jpg">
<img src="img/thumb1.jpg" />
</a>
</div>
<div class="jg_imgalign_catimgs">
<a <?php echo $row->atagtitle; ?> href="<?php echo $row->link; ?>" class="jg_catelem_photo jg_catelem_photo_align">
<img src="<?php echo $row->thumb_src; ?>" class="jg_photo" <?php echo $row->imgwh; ?> alt="<?php echo $row->imgtitle; ?>" /></a>
</div>
href="<?php echo $row->link; ?>"
with a link that opens a large image in JoomGellari. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question