Reputation: 1
I have integrate jQuery thick box in Codeigniter, when I am using this thick box for the singe image then it will work, but when I am using the same thickbox for image gallery by applying the "rel" attributes to anchor tag then it won't work it shows only loading bar.
Upvotes: -4
Views: 791
Reputation: 900
Dear please remove the @ reference from thickbox.js file in rel attributes
Upvotes: -1
Reputation: 1
Here is my code, i have also use route functionality,
<div class="inner_page_content">
<?php for($i=0;$i<count($imagesArr);$i++) { ?>
<a href="<?php echo site_url();?>uploads/<?php echo $imagesArr[$i]['fileName'];?>" class="thickbox myimggallery" rel="gallery-plants">
<img src="<?php echo base_url();?>uploads/thumb1_<?php echo $imagesArr[$i]['fileName'];?>"/>
</a>
<?php }?>
</div>
Upvotes: 0