Re: Image Handler 2 Support
Hi!
I just upgraded a site from 1.3.7 to 1.3.8a- all went fine (whew!) except now the additional images don't show on the product pages - even though the images are in IH tools.
Will I need to clear the bmz cache for the images to show up or will I need to install the patch listed earlier in this thread ~ or both?
Tina
Re: Image Handler 2 Support
For anyone wanting to know - I cleared the bmz cache AND corrected the includes/classes/bmz_image_handler_class.php and the additional images are back again! Woo Hoo!
Tina
Re: Image Handler 2 Support
Nice!
I have same problem.
Can you repeat what you have change in the file
(includes/classes/bmz_image_handler_class.php)
Can't find what to change, the thred is so long
TEW
Re: Image Handler 2 Support
eaglewolf,
The file change I made is as follows ~ just replace the code in the file with this.
Quote:
// we should parse old parameters here and possibly merge some inc case they're duplicate
$parameters .= ($parameters != '') ? ' ' : '';
if (!($_GET['main_page']==FILENAME_PRODUCT_INFO)) {
return $parameters . 'style="position:relative" onmouseover="showtrail(' . "'$products_image_zoom','$alt',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
} else {
return $parameters . 'style="position:relative" onmouseover="showtrail(' . "\'$products_image_zoom\',\'$alt\',$width,$height,$zoomwidth,$zoomheight,thi s," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
}
}
}
}
}
Tina
Re: Image Handler 2 Support
Thanks!
Now I can see the extra images!
But no medium image is shown when I hover the extra images!
And I can't usage .jpg files!!!!
(.gif and .png works !)
Change back the changes in the file (includes/classes/bmz_image_handler_class.php).
And!
Images is showing at the product page
The "hover" function works
And I can see the .jpg files!
Strange!
I have try (before the file modification) to clear the bmz cache several times with no effects!
Strange!
Have some one a explanation of this?
(I have also try it on a newly installed ZC, same behaviour!)
??
TEW
Re: Image Handler 2 Support
My thumbs aren't showing in the product info page, but are showing in the product listings. I just installed image handler. When I go to manage the images I get this error message:
Warning: strstr() [function.strstr]: Empty delimiter. in /usr/home/darkdesire/domains/adarkdesire.com/public_html/zen/includes/classes/bmz_image_handler.class.php on line 126
Could this problem be related to the above?
Re: Image Handler 2 Support
I am having a permissions problem where the images that I upload are set to 600. If I upload an image under categories/products it works fine. I have seen this issue a few times in this thread, but no real answers. I talked to my host about it and they suggested that I customize the code and manually set the permissions using chmod(). I can easily do this if someone could direct me to the file and line that uploads/moves the files to server. Does anybody know where this is?
Re: Image Handler 2 Support
1 Attachment(s)
Re: Image Handler 2 Support
After many month off i lost track of Zen and modules. I need help now please, in figuring out what wrong with IH2 or what I am doing wrong which is not working at all. Resize images but IE7 shoes "Done with errors" i have atached a screenshot
Contributions added to Zen 1.38a:
Cherry_zen Template V 1.7
Fual Slimbox Lightbox
IH2 for v.1.3X
2 test Products
Thanks you in advance for anyone who can give a hand.
Site URL
IH2 - uninstall breaks site
Hello all :)
I have an odd issue. I've uninstalled IH2 on a site I'm working on (it just turned out to be "more than they needed" - nothing against IH2, I love the plugin!). I first uninstalled through the IH2 admin area, and then I went through and removed all the files I had uploaded for the plugin. Now, I had not made any changes to my template files or anything when I had installed - it was mostly a clean installation of ZenCart, so there was no need for me to "separate" IH2 stuff from my own template files. However, I'm now wondering if someone else *did* do something (there are other people working on the site, although *generally* they leave my stuff alone - but you know that doesn't mean some people cannot stop themselves...) because now, on every Product Info page that has an image in it, the layout is broken.
If the product info page does *not* have an image, it's fine. But there's a certain point where the template just stps loading if there *is* an image for the product. Here is that last line you see in the "view source":
<!--bof Main Product Image -->
After that, the page just abruptly stops. I opened up my tpl_product_info_display.php file, the the next line is this:
<?php if (zen_not_null($products_image)) { ?>
<?php /* display the main product image */
require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
<?php } ?>
<!--eof Main Product Image-->
Now, this is odd to me - it doesn't *seem* like this section should be breaking the site, but it is. This is also not the first time this has happened - while working on the site yesterday, there was another template doing the exact same thing, in the exact same spot, with the exact same code. The only way I could fix it was just by eliminating that entire section. For *that* template file, it was fine, because images really weren't needed. But in this case, they are, and I need this function to work.
I've already tried uploading the default template to override mine, but it's even doing this in the default. The only conclusion I can come to is that I did something wrong when I uninstalled IH2. Is there something else I should be looking for to fix this?
I'd appreciate any help you can give. Thanks!