Jump to content
Sign in to follow this  
Sally

Multiple Product Images With Slide Show

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:

Share this post


Link to post
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.

Share this post


Link to post
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:

 

 

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

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×