Forums / All Other Contributions/Addons / Image Swap via Javascript

Image Swap via Javascript

Views: 22,848

Results 81 to 95 of 95
19 Oct 2008, 12:19 AM
#81
nosleephotel avatar

nosleephotel

New Zenner

Join Date:
Sep 2008
Location:
Los Angeles, CA
Posts:
67
Plugin Contributions:
0

Image Swap via Javascript

Yeah, I'm a little surprised no one has done it before–or maybe they have but haven't made it an Add On for others.

I'm satisfied with what I've done instead. If you want to take a look: here.

19 Oct 2008, 3:14 AM
#82
nosleephotel avatar

nosleephotel

New Zenner

Join Date:
Sep 2008
Location:
Los Angeles, CA
Posts:
67
Plugin Contributions:
0

Re: Image Swap via Javascript

Er, actually this creates a problem. I realized that when I add a second product, the Next, Product Listing, Next buttons are misaligned. Since their code is in the tpl_modules_product_listing.php file, is there a way to get it to appear after the alternate image? Would it be a lot of work to put it in a separate php file to be called after the alternate image?

19 Oct 2008, 3:27 AM
#83
nosleephotel avatar

nosleephotel

New Zenner

Join Date:
Sep 2008
Location:
Los Angeles, CA
Posts:
67
Plugin Contributions:
0

Re: Image Swap via Javascript

Oops, I mean tpl_product_info_display.php. I'm a bit new to PHP. Lots of PHP files to edit.:blush:

NEVERMIND! Got it to work! Put <br class="clearBoth" /> before```php

<!--bof Prev/Next bottom position --> <?php if (PRODUCT_INFO_PREVIOUS_NEXT == 2 or PRODUCT_INFO_PREVIOUS_NEXT == 3) { ?> <?php /** * display the product previous/next helper */ require($template->get_template_dir('/tpl_products_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_products_next_previous.php'); ?> <?php } ?> <!--eof Prev/Next bottom position -->
19 Nov 2008, 9:52 PM
#84
cidic avatar

cidic

New Zenner

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

Re: Image Swap via Javascript

I have zencart with product columns and IH2 installed I've tried installing image swap but it does not work. instead the main image no longer has a link that opens a window with a larger image. the other images at the bottom still work normally. what is the exact version of this that you guys got working?

I've also noticed NO ONE that I can find has posted a link to a site with this working on it.

19 Nov 2008, 9:59 PM
#85
cidic avatar

cidic

New Zenner

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

Re: Image Swap via Javascript

oh and its zencart version 3.1.8

19 Nov 2008, 10:09 PM
#86
maitaijim avatar

maitaijim

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Re: Image Swap via Javascript

cidic:

I have zencart and IH2 installed I've tried installing image swap but it does not work.

The image swap mod is not compatible with IH2. It would be great if it was. I looked into this but the IH2 script is way over my head, I have only recently picked up some PHP knowledge. My assumption is this would be more a matter of building an image swap function into IH2, not one of compatibility between these two mods.

Jim

19 Nov 2008, 10:27 PM
#87
cidic avatar

cidic

New Zenner

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

Re: Image Swap via Javascript

how do you get additional images without it?

19 Nov 2008, 10:45 PM
#88
maitaijim avatar

maitaijim

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Re: Image Swap via Javascript

cidic:

how do you get additional images without it?
Additional images is a function of Zen Cart not a third party mod. You can find info for most of Zen's function in the Tutorials/FAQ section of this website.

Multiple images Tut/FAQ
https://www.zen-cart.com/tutorials/index.php?article=58

For more info about Additional Images search the forum.

Jim

20 Nov 2008, 11:17 PM
#89
cidic avatar

cidic

New Zenner

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

Re: Image Swap via Javascript

is there anything that manages images better that is compatible?

20 Nov 2008, 11:59 PM
#90
cidic avatar

cidic

New Zenner

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

Re: Image Swap via Javascript

right now, (I assume this is what it is supposed to do) the thumbs are the same picture file that is loaded as the main picture but they are set to be smaller, is there a way to have the thumbnails be a separate image file?

and is there a way to disable the large size popup when you click them?

21 Dec 2008, 11:09 PM
#91
dreamlex avatar

dreamlex

New Zenner

Join Date:
Dec 2008
Posts:
57
Plugin Contributions:
0

Re: Image Swap via Javascript

maitaijim:

Additional images is a function of Zen Cart not a third party mod. You can find info for most of Zen's function in the Tutorials/FAQ section of this website.

Multiple images Tut/FAQ
https://www.zen-cart.com/tutorials/index.php?article=58

For more info about Additional Images search the forum.

Jim

I look at the url for tutorial. So far I followed the instruction but no extra images appear on product page? Also I am not sure what "Attribute images can be added to individual attribute options via Admin -> Catalog -> Option Values" mean. How does it work?

I wanted to have additional images of different colors so users can see the color of dresses and then select option drop down for the right color that they want. How to do that?

I have struggled with the mod "image swap". The help will be very much appreciated.

19 Feb 2010, 9:34 PM
#93
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Image Swap via Javascript

Image Swap via MouseOver is not working at all. It seems to be a conflict with Tabbed Products Pro. When TPP is disabled, Image Swaps works. However, I really need them both to work..:blink:

10 Apr 2010, 5:20 AM
#94
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: Image Swap via Javascript

No fix yet? :( I had hired someone to fix it, but I think they forgot as nothing has been done, so I'm still waiting. :)

14 Sep 2011, 12:46 PM
#95
maira81 avatar

maira81

New Zenner

Join Date:
Sep 2011
Posts:
2
Plugin Contributions:
0

Re: Image Swap via Javascript

Hi there,

I'm wondering if anyone can help me out. I installed the Image Swap which works fine, but interfered with main image now unable to enlarge. I came across this thread and and followed the PHP coding provided. Now there is a text link under the main image and when clicked on nothing happens.

http://www.discoveragadget.com.au/index.php?main_page=product_info&cPath=75_88_91&products_id=216

Cheers