Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Multiple Product Images With Slide Show


Sally

Recommended Posts

Here is the link to the contribution.

http://addons.oscommerce.com/info/4985/v,22

 

Server and osC information

osCommerce Online Merchant v2.2 RC1

PHP Version 5.2.5

 

I do not understand what to do in step 9

 

9) go to catalog/popup_image.php and REPLACE the line where the image is drawn with this:

 

<!-- fancy product images slide show hack START -->

<script>

document.writeln('<img src="'+opener.getActiveSlideImage()+'"/>');

</script>

<!-- fancy product images slide show hack END -->

 

Can anybody help please. :huh:

Link to comment
Share on other sites

Here is the link to the contribution.

http://addons.oscommerce.com/info/4985/v,22

 

Server and osC information

osCommerce Online Merchant v2.2 RC1

PHP Version 5.2.5

 

I do not understand what to do in step 9

 

9) go to catalog/popup_image.php and REPLACE the line where the image is drawn with this:

 

<!-- fancy product images slide show hack START -->

<script>

document.writeln('<img src="'+opener.getActiveSlideImage()+'"/>');

</script>

<!-- fancy product images slide show hack END -->

 

Can anybody help please. :huh:

 

me either.. help please.

Link to comment
Share on other sites

  • 2 weeks later...
Here is the link to the contribution.

http://addons.oscommerce.com/info/4985/v,22

 

Server and osC information

osCommerce Online Merchant v2.2 RC1

PHP Version 5.2.5

 

I do not understand what to do in step 9

 

9) go to catalog/popup_image.php and REPLACE the line where the image is drawn with this:

 

<!-- fancy product images slide show hack START -->

<script>

document.writeln('<img src="'+opener.getActiveSlideImage()+'"/>');

</script>

<!-- fancy product images slide show hack END -->

 

Can anybody help please. :huh:

 

 

That means the following code (catalog/popup_image.php, line 36):

<?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); ?>

Link to comment
Share on other sites

  • 2 months later...
That means the following code (catalog/popup_image.php, line 36):

<?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); ?>

 

Thanks a lot. I was really confused by that last step.

Link to comment
Share on other sites

  • 1 year later...

I installed this hack and I get the following error on the product image:

 

Warning: opendir(osCommerceimg_cache) [function.opendir]: failed to open dir: No such file or directory in /hermes/bosweb/web132/b1329/sl.wiremybi/public_html/includes/functions/general.php on line 1313

 

I don't have my site in the Catalog folder, but rather in the root(if this makes a difference). I tried every version I could think of, and the only difference i found was changing:

 

  define('DIR_FS_CATALOG', 'osCommerce');

 

to:

 

define('DIR_FS_CATALOG', '');

 

At which point I would get a blank screen with the error

At the leat one pair of size is 0

 

 

Anyone able to help?

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...