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.
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?
Re: Image Handler 2 Support
Quote:
Originally Posted by
1PLM
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
Re: Image Handler 2 Support
Quote:
Originally Posted by
audradh
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
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
Re: Image Handler 2 Support
Hi Every Body......
I have installed IH2 on my website and I am having a problem in it.
1. When we do mouseover on an image which is on the bottom half of the window, the status bar shows "Error on Page" in IE browser.
Where as Google Chrome shows all the zoomed images on the top of the website which are not visible if the page is long.
In Firefox it is working absolutely fine.
2. In the Admin Section when I click "Preview" the PNG images doesn't show up anything. Some times they show Error message in line 646.
I have seen my Servers info, there PNG was enabled.
I have also tried by reinstalling as well as restoring all the files.
Please solve my problem, I am ready to pay for this.
Re: Image Handler 2 Support
Quote:
Originally Posted by
Atma Ram
Hi Every Body......
I have installed IH2 on my website and I am having a problem in it.
1. When we do mouseover on an image which is on the bottom half of the window, the status bar shows "Error on Page" in IE browser.
Where as Google Chrome shows all the zoomed images on the top of the website which are not visible if the page is long.
In Firefox it is working absolutely fine.
2. In the Admin Section when I click "Preview" the PNG images doesn't show up anything. Some times they show Error message in line 646.
I have seen my Servers info, there PNG was enabled.
I have also tried by reinstalling as well as restoring all the files.
Please solve my problem, I am ready to pay for this.
See post # 3042
M
Re: Image Handler 2 Support
Darn time limit...
Atma Ram
1) See post 3042
2) If you type the url of the image in your browser, can you view it?
M
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
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="javascript:popupWindow(\\\'' . $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="javascript:popupWindow(\''. $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
?>
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.