chuntse Posted May 31, 2011 Share Posted May 31, 2011 Hi All, The Calculate Image Size doesn't work in Product Info page. How can we thumbnail the image in Product Info page? I tried to search solution on internet or forum, there are no answer, I always see the discussion. Developper of Oscommerce 2.3.1 has not noticed this problem?? What had happened to the Oscommerce Development? There are no news about the final production verion of Oscommerce 3.0 and no one fixes the problems of oscommerce 2.3.1.... is any development freezed? OMG...Who can help us? chuntse Quote Link to comment Share on other sites More sharing options...
multimixer Posted May 31, 2011 Share Posted May 31, 2011 (edited) Chuntse , calm down and no panic please ! 1) The fact that you can not find an answer to something doesn't mean the answer don't exist, it means just that you can not find it, not more not less. 2) Because you face a problem doesn't mean that it is a osCommerce problem that developers should fix, it mean just that you can not fix it, not more not less To your question now, that has been answered many times in the forum by the way: 1) Upload a second image for each of your products where it says "+ add large image". It can be the same file, doesn't matter. You will see that the image got resized 2) If you want to manipulate this, open your file catalog/product_info.php and find the section where it says <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 can change the numbers to get the size you want for the main image (maxwidth / maxheight) and the thumbnalis (thumbwidth) and the container that hold them as well. Play around with the settings till you get the result you want. Sure this all can be improved, but no reason to get a "end of the days" mood Edited May 31, 2011 by multimixer Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
Huroman Posted October 10, 2011 Share Posted October 10, 2011 (edited) Just for the record, if you want to make the width fixed but the height taller as possible, comment (or delete) the height: <script type="text/javascript"> $('#piGal ul').bxGallery({ maxwidth: 270, //maxheight: 200, <--- Doesn't matter this thumbwidth: <?php echo (($pi_counter > 1) ? '84' : '0'); ?>, thumbcontainer: 270, load_image: 'ext/jquery/bxGallery/spinner.gif' }); </script> Edited October 10, 2011 by Huroman Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.