Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Help With Re-size Image In Product_Info OSC 2.31


Recommended Posts



Can someone please explain how to re-size the main image in product_info.php in OSC 2.31. I see the code,


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


All my images are 450x450 pixel. I would like in product_info.php that the be 250x250.


Thanks Jr

Link to comment
Share on other sites

Set the maxwidth and maxheight to be 250, same for thumbcontainer. Thumbwidth you can set depending on how many thumbs you want to display (eg if 5 then 250/5 = 50, so you set it to 48 because of 1px shadow left and right)

Link to comment
Share on other sites


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

  • Create New...