gaspower Posted November 6, 2011 Share Posted November 6, 2011 Hello, 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' }); </script> 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 More sharing options...
multimixer Posted November 7, 2011 Share Posted November 7, 2011 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) My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.