I have a Jquery gallery on my product page, it uses the following code to work:
Code:
<link type="text/css" href="../css/bottom.css" rel="stylesheet" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.js"></script>
<script type="text/javascript" src="includes/templates/barebones/jscript/jscript_jcarousel.min.js"></script>
<script type="text/javascript" src="includes/templates/barebones/jscript/jscript_pikachoose.js"></script>
<script language="javascript">
$(document).ready(
function (){
$("#pikame").PikaChoose({carousel:true,carouselOptions:{wrap:'circular'}});
});
</script>
</script>
Code:
Code:
<div id="pikawrapper"><div class="pikachoose">
<?php
if (sizeof($images_array) > 0) {
?>
<ul id="pikame" class="jcarousel-skin-pika">
<?php
for($img=0; $img<sizeof($images_array); $img++) {
echo '<li>' . zen_image('images/' . $images_array[$img]) . '</li>';
} ?>
</ul>
<?php } ?>
</div></div>
Here's a link to a product page with this implemented.
http://www.pazzle.co.uk/index.php?ma...&products_id=3
If you notice, the thumbnails of the images are distorted and I have no idea why. Any ideas on how to fix this?
NOTE: The gallery originally used HTML img src tags to locate and display images, this method correctly resized the thumbnails accordingly. The gallery now sources images from zen carts additional images array for efficiency. Although this works well it seems as though the thumbnails arent being scaled down.
Bookmarks