Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Multiple images control?


velvetpixel

Recommended Posts

In what file can I edit the layout and size of the thumbs for secondary large images that appear under the main image on the product page?

Link to comment
Share on other sites

What version of OSC are you running? If it's v2.3.1 it's in /catalog/product_info.php.

 

Look for:

 

<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>

 

Change the 50 . 50 to the dimensions you would like. Likewise, to adjust the size of the large image you would change the max height/width at the top to 490. Make sure to adjust the thumbcontainer width as well. ;)

 

Hope that helps!

 

Peace,

Chris

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...