Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2004
    Posts
    130
    Plugin Contributions
    0

    Default Image Handler 2 and Image Swap

    I can't seem to get these two mods to play nice. The issue, I'm sure, is in the additional_images.php file - specifically they have different javascript code for each mod. Has anyone managed to get these two to work together yet?

  2. #2
    Join Date
    Jul 2007
    Location
    Minneapolis, MN, United States
    Posts
    71
    Plugin Contributions
    0

    Default Re: Image Handler 2 and Image Swap

    Please let me know if you find a solution
    I dont care what it says next to my name. I've been Zenned!

  3. #3
    Join Date
    May 2007
    Posts
    90
    Plugin Contributions
    0

    Default Re: Image Handler 2 and Image Swap

    Same here! I'd like to get these two working... or at least be sure they do work together before installing Image Swap. Thanks.

  4. #4
    Join Date
    Jul 2007
    Location
    Minneapolis, MN, United States
    Posts
    71
    Plugin Contributions
    0

    Default Re: Image Handler 2 and Image Swap

    EZ Thumbnails works with image swap. It works similar to IH as it creates the thumbnails automatically but that's all it does. its in the downloads section
    I dont care what it says next to my name. I've been Zenned!

  5. #5

    Default Re: Image Handler 2 and Image Swap

    Like many people who've been using the Image Swap Mouseover mod, I've been desperate for a way to get it working with Image Handler (IH2). Now I'm not a programmer, but I've had a Eureka moment and I've come up with a solution which involves bypassing the Product Info pages so that Image Handler can use the Proportional Images setting on other pages.

    The file that needs to be edited is includes/functions/html_output.php

    Code to edit:
    PHP Code:
    if (strstr($src'includes/templates') or strstr($src'includes/languages') or PROPORTIONAL_IMAGES_STATUS == '0') {
          return 
    zen_image_OLD($src$alt$width$height$parameters);
        } 
    Change to:
    PHP Code:
    if($_GET['main_page'] == "product_info" or strstr($src'includes/templates') or strstr($src'includes/languages') or PROPORTIONAL_IMAGES_STATUS == '0') {
          return 
    zen_image_OLD($src$alt$width$height$parameters);

    Then change the 'Use Proportional Images on Products and Categories' setting to 1. You'll probably need to adjust the product image settings to slightly smaller widths before IH2 will start doing its work.

    This is all I did, and I now have Image Handler working fine on category and product listing pages:

    http://www.scotiafairtrade.com/silk-...08_10_220.html

    and my additional images are still swapping over on the Product Info pages:

    http://www.scotiafairtrade.com/green...ut-p-4090.html

    Hope this is of some use!

  6. #6

    Default Re: Image Handler 2 and Image Swap

    Problem with my last suggestion is that sidebox images (what's new, x-sell, specials etc.) on the product_info pages couldn't be resized by Image Handler. I've since uninstalled IH2 and am using EZThumbnails instead - Swap on Mouseover works with this mod.

    EZThumbmails is available at:
    http://www.zen-cart.com/index.php?ma...roducts_id=704

 

 

Similar Threads

  1. Replies: 9
    Last Post: 3 Jun 2013, 10:21 PM
  2. AJAX Image Swapper - Patch to swap between standard and AIS image display
    By jaycode in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 12 Jul 2010, 11:32 AM
  3. making product detail display small image and have image handler rollover come up
    By bgingras in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Apr 2008, 11:24 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR