Page 1 of 2 12 LastLast
Results 1 to 10 of 7098

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Image Handler 2 Support

    Quote Originally Posted by tslav View Post


    I did not find a solution for my problem.

    Any help will be appreciated.

    Tzachi
    Problem 1. was addressed in post 1255
    However the link there is no longer valid

    Here is the file you need to replace
    Attached Files Attached Files

  2. #2
    Join Date
    Aug 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Thanks mate!

    Great help :)


    Regarding question (1), I am getting closer to the solution. Because I am using the Hebrew language i need to use the Quote Mark (") in the header some times. The problem occurs only for the products with quote mark. I wonder how I change it in the JavaScript code so it won't make a difference.

    Tzachi

  3. #3
    Join Date
    Aug 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    HAHA! I made it. I found the solution for (1).


    The function gettrail() uses the (') sign to display the image alt where it should use the (") sign. I.E The function should use the following code:
    onmouseover="showtrail('images//b12.jpg',"B12 CHESS INFORMANT Caro-Cann by Sirawan",56,80,235,331,this,0,0,56,80);"
    Instead of:
    onmouseover="showtrail('images//b12.jpg','B12 CHESS INFORMANT Caro-Cann by Sirawan',56,80,235,331,this,0,0,56,80);"

    Hope it helps anyone :)

  4. #4
    Join Date
    Jul 2008
    Location
    Cape-Coast, Ghana WestAfrica
    Posts
    53
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Sorry guys/gals to bring this issue up again as I have pasted it under the CherryZen Template forum. i dont't know if this post belongs here or there.
    I was runing a "sage" template and installed IH2. Ater that whenever you clicked on my sample test Image I got the message/error below even though everything looks right at www.afrosupermarket.com
    Meaasge or Error Displayed"

    xt' => "\n " . $link); $col ++; if ($col > (IMAGES_AUTO_ADDED -1)) { $col = 0; $row ++; } } // end for loop } // endif ?>

    I thought it was a template error and so I switched to "Cherry zen" template and still get the same error. I have searched the developers tool kit to where I can locate that line of code for correction.
    Is it with IH2 or I need to adjust some code to avoid seeing the message displayed.

  5. #5
    Join Date
    Oct 2005
    Location
    Eastern US
    Posts
    488
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    I see that others have had trouble getting additional images working, as am I. I cannot find any solutions in the thread however. Here are a couple of product pages that should be showing additional images:

    http://www.naturewearorganics.com/in...roducts_id=378

    http://www.naturewearorganics.com/in...roducts_id=424

    I can see the additional images in IH2. I just reuploaded all of the IH2 files to my server in case I had missed something, no change.

    Does anyone have any ideas what else I can look at?

  6. #6
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Quote Originally Posted by audradh View Post
    I see that others have had trouble getting additional images working, as am I. I cannot find any solutions in the thread however. Here are a couple of product pages that should be showing additional images:

    http://www.naturewearorganics.com/in...roducts_id=378

    http://www.naturewearorganics.com/in...roducts_id=424

    I can see the additional images in IH2. I just reuploaded all of the IH2 files to my server in case I had missed something, no change.

    Does anyone have any ideas what else I can look at?
    The code for additional images is not being loaded.
    You have additional images turned on?
    Check to be sure you uploaded all IH files and they are in the correct folders?
    M

  7. #7
    Join Date
    May 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    I have a problem with the hover effect in IE6 and IE7 and in Opera. The Firefox version 2 and 3 and also Safari is working well with the hover on the category-pages. But IE only hovers on the product info pages, not on the category or featured products. I stared quite a long time at the code, but cannot find what causes this...

    Here's a url: http://rabe-und-rose.de/index.php

    Thanks in advance for any helpful hints!

    regards, miriam

  8. #8
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Quote Originally Posted by 1PLM View Post
    Sorry guys/gals to bring this issue up again as I have pasted it under the CherryZen Template forum. i dont't know if this post belongs here or there.
    I was runing a "sage" template and installed IH2. Ater that whenever you clicked on my sample test Image I got the message/error below even though everything looks right at www.afrosupermarket.com
    Meaasge or Error Displayed"

    xt' => "\n " . $link); $col ++; if ($col > (IMAGES_AUTO_ADDED -1)) { $col = 0; $row ++; } } // end for loop } // endif ?>

    I thought it was a template error and so I switched to "Cherry zen" template and still get the same error. I have searched the developers tool kit to where I can locate that line of code for correction.
    Is it with IH2 or I need to adjust some code to avoid seeing the message displayed.
    Check your additional_images.php file in the modules folder.

    M

  9. #9
    Join Date
    Jul 2008
    Location
    Cape-Coast, Ghana WestAfrica
    Posts
    53
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Quote Originally Posted by tophand View Post
    Check your additional_images.php file in the modules folder.

    M
    Thanks for the feedback. I checked where you mentioned and the ending portion of the file is pasted below. What do I change and which line? Also Please click on a product and proceed to check out and see the Error At The Checkout Screen.
    Thanks.

    CONTENTS OF FILE:
    // Build output based on images found
    $num_images = sizeof($images_array);
    $list_box_contents = '';
    $title = '';

    if ($num_images) {
    $row = 0;
    $col = 0;
    if ($num_images < IMAGES_AUTO_ADDED || IMAGES_AUTO_ADDED == 0 ) {
    $col_width = floor(100/$num_images);
    } else {
    $col_width = floor(100/IMAGES_AUTO_ADDED);
    }

    for ($i=0, $n=$num_images; $i<$n; $i++) {
    $file = $images_array[$i];
    $products_image_large = str_replace(DIR_WS_IMAGES, DIR_WS_IMAGES . 'large/', $products_image_directory) . str_replace($products_image_extension, '', $file) . IMAGE_SUFFIX_LARGE . $products_image_extension;
    $flag_has_large = file_exists($products_image_large);
    $products_image_large = ($flag_has_large ? $products_image_large : $products_image_directory . $file);
    $flag_display_large = (IMAGE_ADDITIONAL_DISPLAY_LINK_EVEN_WHEN_NO_LARGE == 'Yes' || $flag_has_large);
    $base_image = $products_image_directory . $file;
    $thumb_slashes = zen_image($base_image, addslashes($products_name), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
    $thumb_regular = zen_image($base_image, $products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
    $large_link = zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large);

    // Link Preparation:
    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascriptopupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';

    $noscript_link = '<noscript>' . ($flag_display_large ? '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large) . '" target="_blank">' . $thumb_regular . '<br /><span class="imgLinkAdditional">' . TEXT_CLICK_TO_ENLARGE . '</span></a>' : $thumb_regular ) . '</noscript>';

    // $alternate_link = '<a href="' . $products_image_large . '" onclick="javascriptopupWindow(\''. $large_link . '\') return false;" title="' . $products_name . '" target="_blank">' . $thumb_regular . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>';

    $link = $script_link . "\n " . $noscript_link;
    // $link = $alternate_link;

    // List Box array generation:
    $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => "\n " . $link);
    $col ++;
    if ($col > (IMAGES_AUTO_ADDED -1)) {
    $col = 0;
    $row ++;
    }
    } // end for loop
    } // endif

    ?>xt' => "\n " . $link);
    $col ++;
    if ($col > (IMAGES_AUTO_ADDED -1)) {
    $col = 0;
    $row ++;
    }
    } // end for loop
    } // endif

    ?>

  10. #10
    Join Date
    Jul 2008
    Location
    Cape-Coast, Ghana WestAfrica
    Posts
    53
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Hooray I solved it!!! or They helped me Solve It!
    See 16 lines up from the last line of code in the Includes/modules/additinal_images.php,
    There is a that says 'text' => "\n, i just removed "text" and now I don't get Error.
    Thanks Folks.
    The Check out screen still has a problem though. Just Try checking out a product.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1687
    Last Post: 17 Nov 2024, 07:26 PM
  2. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1095
    Last Post: 2 Oct 2017, 12:42 PM
  3. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM
  4. Image handler only covers part of screen
    By shaneburton in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 May 2009, 07:15 PM
  5. Is Image Handler the only way to go?
    By wwwursa in forum Installing on a Windows Server
    Replies: 2
    Last Post: 23 Dec 2007, 09:22 PM

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