Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image alignment in product description page


Guest

Recommended Posts

You need to adjust the settings in file catalog/product_info.php, the part that look like this

 

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

 

You could set it for example like this

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

 

You can set the thumbcontainer to 1 in case you don't plan any additional images

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...