busonero Posted June 19, 2005 Share Posted June 19, 2005 Hi ! Just installed the Product Sold 1.2 Contribution http://www.oscommerce.com/community/contributions,1919 and even if the sold.gif image ist resized at p.e. 10x10 pixel , i get in the store a much bigger image. The mage will be resized but i cannot find the way to fix the size of the displayed image at its own size. Thank you for your help Sincerely Roberto Quote Link to comment Share on other sites More sharing options...
busonero Posted June 19, 2005 Author Share Posted June 19, 2005 Well, i just found out that the sold.gif recall the image size set in the admin/configuration/images (in my case 99 x 99 pixel): To avoid image resize just change the lines of code wherever the sold.gif appear in the files - catalog/product_info.php - catalog/prooduct_new.php - catalog/includes/modules/product_listing.php from <td class="pageHeading" valign="top"><?php echo tep_image (DIR_WS_LANGUAGES . $language . '/' . DIR_WS_IMAGES . 'sold.gif', '', SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align=ABSMIDDLE'); ?></td> to <td class="pageHeading" valign="top"><?php echo tep_image (DIR_WS_LANGUAGES . $language . '/' . DIR_WS_IMAGES . 'sold.gif', '', 'align=ABSMIDDLE'); ?></td> removing the SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT reference. Hope this will help somebody :-) sincerely Roberto 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.