Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image alignment in product description page


Guest

Recommended Posts

Posted

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

Posted

Working perfectly now.

Thanks Multimixer for your speed and help.

 

Much appreciated

Archived

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

×
×
  • Create New...