bubsy12 Posted November 24, 2004 Posted November 24, 2004 My "Let's See What We Have Here" image is not showing... any ideas why? here is the site: http://www.torontoskincare.com/oscommerce/...facturers_id=10 here is a tidbit of the index.php code that I believe would control it // Get the right image for the top-right $image = DIR_WS_IMAGES . 'table_background_list.gif'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); $image = tep_db_fetch_array($image); $image = $image['manufacturers_image']; } elseif ($current_category_id) { $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $image = tep_db_fetch_array($image); $image = $image['categories_image']; } ?> <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); ?></td> </tr> </table></td> <?php ANY IDEAS?
TCwho Posted November 24, 2004 Posted November 24, 2004 You have to give it an image when you set up the manufacturer in your admin console Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00
bubsy12 Posted November 24, 2004 Author Posted November 24, 2004 You have to give it an image when you set up the manufacturer in your admin console <{POST_SNAPBACK}> Worked like a charm, Thanks Alot
TCwho Posted November 24, 2004 Posted November 24, 2004 Glad I could give back B) Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00
Recommended Posts
Archived
This topic is now archived and is closed to further replies.