Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fancybox, small images frame width


OSC-Sevilla

Recommended Posts

Posted

How do I edit the TOTAL thumbnail image width holder.

 

I have three thumbnails per line but for some reason the fourth is not dropping down to the next line and is therefore cut off. PLease see the image attached.

 

 

Many Thanks!

Posted

In catalog/product_info.php find this:

 

<script type="text/javascript" style="center">
$('#piGal ul').bxGallery({
 maxwidth: 490,
 maxheight: 490,
 thumbwidth: <?php echo (($pi_counter > 1) ? '50' : '50'); ?>,
 thumbcontainer: 490,
 load_image: 'ext/jquery/bxGallery/spinner.gif'
});
</script>

 

thumbcontainer: 490 - is your container width for the thumbnails. ;)

 

Hope this helps!

 

Peace,

Chris

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...