Jesse J Posted June 29, 2004 Posted June 29, 2004 I have done as suggested by many and that is define only the width of the images in the admin. In my case I have made them all 100px. This is working out well except that in the "manufacture info" box it does not resize the manufacture logo. This is causing the entire right column of my page to stretch because all of the images are not the same size. Any code I could drop in to make this image scale like the rest? Thanks!
peteravu Posted July 2, 2004 Posted July 2, 2004 catalog\includes\boxes\manufacturer_info.php find ?if (tep_not_null($manufacturer['manufacturers_image'])) $manufacturer_info_string .= '<tr><td align="center" class="infoBoxContents" colspan="2">' . tep_image(DIR_WS_IMAGES . $manufacturer['manufacturers_image'], $manufacturer['manufacturers_name']) . '</td></tr>'; ? ? change to if (tep_not_null($manufacturer['manufacturers_image'])) $manufacturer_info_string .= '<tr><td align="center" class="infoBoxContents" colspan="2">' . tep_image(DIR_WS_IMAGES . $manufacturer['manufacturers_image'], $manufacturer['manufacturers_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</td></tr>'; Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1
Jesse J Posted July 2, 2004 Author Posted July 2, 2004 Perfect! Thank you sooooo much :D Just a note.. for me there is a bunch more code before the cell and row close but that is no big deal. the main thing was finding out what (and where) to add the code about the images hight and width. Thanks so much again :D -Jesse J
Recommended Posts
Archived
This topic is now archived and is closed to further replies.