tptnyc Posted May 3, 2007 Share Posted May 3, 2007 site contains 40plus images as thumbnails, the window gets enlarged but not the images itself, so what is the solution? Here is the coding in pop file: <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=100; if (document.images[0]) window.resizeTo(document.images[0].width +170, document.images[0].height+180-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'); ?> Quote Link to comment Share on other sites More sharing options...
usernamenone Posted May 7, 2007 Share Posted May 7, 2007 Solution is if you don't have a larger image you won't get a larger image. You upload a full size image. Oscommerce shrinks that image until it is clicked on. Keep your image width 500px of less to save space. Quote Link to comment Share on other sites More sharing options...
Viquiw Posted May 30, 2007 Share Posted May 30, 2007 Solution is if you don't have a larger image you won't get a larger image. You upload a full size image. Oscommerce shrinks that image until it is clicked on. Keep your image width 500px of less to save space. I did that _ i have a larger image loaded but it won't show it in the pop up window - any ideas? Quote Link to comment Share on other sites More sharing options...
usernamenone Posted May 31, 2007 Share Posted May 31, 2007 In admin what is the small image size set to? That size must be smaller than your uplo9aded image. or your function popupWindow(url) from your product_info has been removed............ Template or stock osc? I did that _ i have a larger image loaded but it won't show it in the pop up window - any ideas? Quote Link to comment Share on other sites More sharing options...
Troppo Posted June 4, 2007 Share Posted June 4, 2007 Good topic. I'd like to know too. Thanks :thumbsup: Quote I intend to live forever, so far, so good. :) 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.