Abhijit Dutta Abhijit Dutta - 1 month ago 8
Javascript Question

Dynamic value pass in cloud zoom

Here is the link - http://demo.crazewebconsultants.net/bag/product-listing.php

<div class="col-lg-5 col-md-5 col-sm-5 col-xs-12">
<div class="proddtlsimg">
<img id="big_img" class="img-responsive zoom_01" src="site-admin/<?=$row['image']?>" data-zoom-image="site-admin/<?=$row['image']?>">
</div>
<div class="row">
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
<div class="prodsmallimg">
<img class="img-responsive" src="site-admin/<?=$row['image']?>">
</div>
</div>
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
<div class="prodsmallimg">
<img class="img-responsive" src="site-admin/<?=$img[0];?>">
</div>
</div>
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
<div class="prodsmallimg">
<img class="img-responsive" src="site-admin/<?=$img[1];?>">
</div>
</div>
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
<div class="prodsmallimg">
<img class="img-responsive" src="site-admin/<?=$img[2];?>">
</div>
</div>


</div>
</div>


Here is my code. Please take a look on my code. I just want when user click on the thumbnail images, it was shown on the big thumbnail. And it was done completely fine and I had added a cloud zoom, it works well also. But I just want the dynamic images with cloud zooming effect. I'm stuck on that particular section. Need some help.

Thanks in advance.

Answer

What means 'Sorting with pagination'?

When you get data from your database, let's say, using SQL, you may get already sorted data.

Something like SELECT * FROMTABLEORDER BYSOMETHINGASC

Comments