
Originally Posted by
picaflor-azul
No, the image handler code was in the module package file. Since image handler is not installed in the template package by default, I had to remove the code .
Thanks,
Anne

Originally Posted by
DivaVocals
Interesting.. that's exactly how Zen Colorbox and Zen Lightbox are and they do not have issues when IH4 is not installed.. Hmmmmmmmm...
Okay well I'm GUESSING that the code in question is here: includes/modules/YOUR-TEMPLATE-FOLDER/additional_images.php lines 84-88.
Code:
// Begin Image Handler changes 1 of 2
//next line is commented out for Image Handler
// $flag_has_large = file_exists($products_image_large);
$flag_has_large = true;
// End Image Handler changes 1 of 2
This looks like OLD outdated IH2 code.. IMAGE HANDLER TWO??????????????????????????????????
WHAT????????????????
Should probably be (taken from Zen Colorbox):
Code:
// Begin Image Handler changes 1 of 2
if (function_exists('handle_image')) {
$newimg = handle_image($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, '');
list($src, $alt, $width, $height, $parameters) = $newimg;
$products_image_large = zen_output_string($src);
}
$flag_has_large = file_exists($products_image_large);
// End Image Handler changes 1 of 2
Haven't tested this but given the roots of this module, I think it will work..