Zen Cart Logo
Forums / All Other Contributions/Addons / Swap Images via Mouseover image popup

Swap Images via Mouseover image popup

Views: 1,262

Results 1 to 2 of 2
27 Jan 2011, 8:11 PM
#1
scarlet avatar

scarlet

Zen Follower

Join Date:
Jun 2004
Posts:
127
Plugin Contributions:
0

Swap Images via Mouseover image popup

I have this Mod working great, however, the client wants to be able to click on the MAIN product image to popup the larger view, not the additional product images. The problem is that if I turn it on, it pops up the original product image, no matter which additional image is swapped out. Anyone have any idea how to do this?

Site:
http://pierianus.com/catalog/index.php?main_page=product_info&cPath=1&products_id=4

swap out the main image by hovering over an additional image.

They want to then be able to click on the main image and have the larger image of whichever one is currently showing pop up.

Thanks!

6 Jun 2011, 4:40 AM
#2
samarac avatar

samarac

New Zenner

Join Date:
Nov 2008
Posts:
9
Plugin Contributions:
0

Re: Swap Images via Mouseover image popup

Did you ever get an answer to this question? I saw your site and saw you got the module to work; however, did you have to install the multiple images module first or not? How did you get yours to work and look like that? I've been combing the forums with seemingly no luck yet. :(

I did find this in a previous post though if you still need the info:

"To include the original image in the swapped out images place this line of code around line 58 before the sizeof and sort of the images_array in the additional_images.php files from includes/modules/Your Template/additional_images.php file. That should call the correct image and give you a thumbnail of your main image along with the additional images."

$images_array[] = substr_replace($products_image_match,'',-1).$products_image_extension;

I appreciate any assistance you can give. Thanks.

Sam :dontgetit