Guest Posted April 26, 2005 Share Posted April 26, 2005 ok, so for the last year I had this problem.. I redid the whole layout and it fixed it for a month or so.. but now im back to the same problem.. When you go to a product and try to blow up the image.. it doesnt blow up but just shows a whitre box. What the heck is wrong thanks in advance Chris My Webpage Link to comment Share on other sites More sharing options...
Wendy James Posted April 26, 2005 Share Posted April 26, 2005 I would have to guess it has to do with a contribution you installed for images, or a code you added to the pop_up.php file to add a close function. I looked at your pop up code compaired to mine and you got a whole bunch of extra stuff on there, and no mention of an image anywhere. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
Guest Posted April 27, 2005 Share Posted April 27, 2005 hmmm Link to comment Share on other sites More sharing options...
Guest Posted May 9, 2005 Share Posted May 9, 2005 where exactly is that file. can someone post the link and then the correct file i need to replace it with thanks chris Link to comment Share on other sites More sharing options...
Wendy James Posted May 9, 2005 Share Posted May 9, 2005 where exactly is that file. can someone post the link and then the correct file i need to replace it with thanks chris <{POST_SNAPBACK}> the file is in your main catalog folder popup_image.php make a backup and then try replacing what you have with <?php /* $Id: popup_image.php,v 1.18 2003/06/05 23:26:23 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); $navigation->remove_current_page(); $products_query = tep_db_query("select pd.products_name, p.products_image from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and pd.language_id = '" . (int)$languages_id . "'"); $products = tep_db_fetch_array($products_query); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo $products['products_name']; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <script language="javascript"><!-- var i=0; function resize() { if (navigator.appName == 'Netscape') i=40; if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+60-i); self.focus(); } //--></script> </head> <body onload="resize();"> <?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); ?> </body> </html> <?php require('includes/application_bottom.php'); ?> That is what is on the original I have on my computer. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
Guest Posted May 10, 2005 Share Posted May 10, 2005 thsnk you Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.