Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2006
    Posts
    12
    Plugin Contributions
    0

    Default Swatch mouseOver main image swap - almost working

    need help!

    I'm using the Swap image module to create a swatch that will swap the main product image for different colors of the same product.

    I don't think this module is working correctly or it would be perfect for what i need as i see no other options for creating this. If this module is working correctly it should switch the main product image to the MED image of my swatches, which are actually small colored alt images. The MED images are actually the colored product images. Take a look.

    lifeforceone.com/zen135/index.php?main_page=product_info&products_id=1

    instead of showing the MED image it is showing the small image. the module does say that it should show the MED if available. If you click on some of my swatches the MED image will pop up in a window.

    Anybody know a fix?

  2. #2
    Join Date
    Apr 2007
    Posts
    65
    Plugin Contributions
    0

    Default Re: Swatch mouseOver main image swap - almost working

    This is almost exactly the thing I am trying to do with my site except instead of rolling over the swatches I want to use the drop down menu.
    I am still a little new to scripting. Which files did you modify so that it would find and use your images?

  3. #3
    Join Date
    May 2004
    Posts
    118
    Plugin Contributions
    0

    Default Re: Swatch mouseOver main image swap - almost working

    I am also new to scripting, the overides function is supposed to allow you to use javascript to do the mouseovers but I can't seem to get it to work online for my zencart site. Is anyone willing to share examples of how to do mouseovers with the overrides?

    So far I have put an onload.js in the includes/templates/custom/jscript/onload directory but it doesn't seem to pick it up and use the mouseover images.

    It works fine in local mode.... so I must be doing something wrong.

    Regards,

    Michael

    Quote Originally Posted by oxymoronz View Post
    This is almost exactly the thing I am trying to do with my site except instead of rolling over the swatches I want to use the drop down menu.
    I am still a little new to scripting. Which files did you modify so that it would find and use your images?

  4. #4
    Join Date
    May 2004
    Posts
    118
    Plugin Contributions
    0

    Default Re: Swatch mouseOver main image swap - almost working

    the image being displayed is not named the medium name, its named with the

    this is the original image:

    http://www.lifeforceone.com/zen135/i...shirt1_MED.gif

    this is what is showing in the window:

    http://www.lifeforceone.com/zen135/i...shirt1_red.gif

    so the path needs to be adjusted to put the correct information in. When you click on the swatch this is the path that is coming up (for larger image)

    http://www.lifeforceone.com/zen135/i...t1_red_LRG.gif


    Maybe you need to add the MED in the filename.

    i.e. shirt1_red_MED.gif

    Quote Originally Posted by damicron View Post
    need help!

    I'm using the Swap image module to create a swatch that will swap the main product image for different colors of the same product.

    I don't think this module is working correctly or it would be perfect for what i need as i see no other options for creating this. If this module is working correctly it should switch the main product image to the MED image of my swatches, which are actually small colored alt images. The MED images are actually the colored product images. Take a look.

    http://www.lifeforceone.com/zen135/i...&products_id=1

    instead of showing the MED image it is showing the small image. the module does say that it should show the MED if available. If you click on some of my swatches the MED image will pop up in a window.

    Anybody know a fix?

  5. #5
    Join Date
    Jan 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Swatch mouseOver main image swap - almost working

    Ive been trying to figure this out as well. Clicking on an attribute images changes the list selection. I dont being being a bit messy with the code (i'm trying to get duplicate attribute sets to act as one), but the client really wants to have it this way. Here's what I have as of right now:

    Attached Images Attached Images  

  6. #6
    Join Date
    Apr 2007
    Posts
    65
    Plugin Contributions
    0

    Default Re: Swatch mouseOver main image swap - almost working

    In looking at the source code I noticed that your images are coming from the additional images area of the page. I would like this swap image module to work from the attribute images instead of the additional images. Is this possible with this module?

 

 

Similar Threads

  1. v138a Image Handler 2 (for ZC v1.3.8 ONLY) Support
    By timkroeger in forum All Other Contributions/Addons
    Replies: 7078
    Last Post: 6 May 2013, 02:18 AM
  2. Which Images are they ?
    By Vinyl Signs in forum Customization from the Admin
    Replies: 6
    Last Post: 27 Jan 2008, 08:50 PM
  3. Image swap via mouseover EEK
    By red8ii8 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Mar 2007, 03:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •