Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Multiple Images enlarge help?


tptnyc

Recommended Posts

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'); ?>

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 4 weeks later...
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?

Link to comment
Share on other sites

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?
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...