Re: Image Handler 2 Support
I am having an issue with the javascript throwing an error for the additional image. Here is what I am using:
Code:
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
which generates this:
Code:
<script language="javascript" type="text/javascript"><!--
document.write('<a href="javascript:popupWindow(\'http://calinoproducts.com/store/index.php?main_page=popup_image_additional&pID=2&pic=0&products_image_large_additional=images/large/testproduct_1_LRG.jpg\')"><img src="bmz_cache/3/3e403c14ca4950d9bec9e6df26fc1837.image.80x80.jpg" alt="Cal\'ino Oil - 10 oz. pump" title=" Cal\'ino Oil - 10 oz. pump " width="80" height="80" style="position:relative" onmouseover="showtrail(\'images//testproduct_1.jpg\',\'Cal\'ino Oil - 10 oz. pump\',80,80,177,177,this,69,69,11,11);" onmouseout="hidetrail();" /></a>');
//--></script>
I don't get any rollover effect and IE tells me there is an error - expected ')' on the line that has //-->< /script> on it.
I have had this issue every time I try to use this version, and always wind up going back to an older version, but I'd really like to get this fixed. Looking at the code, there are no stray opening parenthesis, so I don't know why it's saying that. Anyone have any input?
Thanks!
Re: Image Handler 2 Support
Ah, never mind... fixed it - I found a fix for titles (alt tags) with product names with apostrophes and it took are of the issue.
Re: Image Handler 2 Support
Quote:
Originally Posted by
Scarlet
Ah, never mind... fixed it - I found a fix for titles (alt tags) with product names with apostrophes and it took are of the issue.
Care to post this fix in case others have the same issue???
Re: Image Handler 2 Support
Sure, it's on page 100 of this thread, just about in the middle of the page.
Re: Image Handler 2 Support
Quote:
Originally Posted by
Scarlet
Sure, it's on page 100 of this thread, just about in the middle of the page.
Ahhh I think this is the one.. Thanks for sharing..
http://www.zen-cart.com/forum/showpo...&postcount=996
Quote:
Originally Posted by
jettrue
Try adding this:
$alt = str_replace("\'", '', $alt);
right after this:
$alt = str_replace('"', '"', $alt);
in includes/classes/bmz_image_handler.class.php
Re: Image Handler 2 - Admin images broken
Quote:
Originally Posted by
julie.t
Hi all,
I am using Zen Cart version 1.3.8 a. I installed Image Handler 2 which is working fine on the product pages but the images are broken in admin. Any advice would be appreciated.
what do you mean by broken...do yo mean that in admin section you see no images or what
Re: Image Handler 2 Support
Exactly. When viewing images using Image Handler in admin, the images are broken (no images).
Thanks for your response.
Re: Image Handler 2 Support
Quote:
Originally Posted by
julie.t
Exactly. When viewing images using Image Handler in admin, the images are broken (no images).
Thanks for your response.
have you gone into tools/IH2/and reset the cache for the images?
if you have done that, and you did upload the images through IH2 then did they get moved?
Re: Image Handler 2 Support
Hello,
Im using zen car vr 1.3.8 with the Apple Zen template. I've searched far and wide for an answer to my problem but to no avail. :(
Is there any way to change the image placement for the additional images added through image handler? As in, I want different angles of some mantels for our website but it put the images at the very bottom of the product page, and I want the thumbnails beneath the original larger product image. Anyone know how to do this? Thanks!
Re: Image Handler 2 Support
Quote:
Originally Posted by
wasabiman
Hello,
Im using zen car vr 1.3.8 with the Apple Zen template. I've searched far and wide for an answer to my problem but to no avail. :(
Is there any way to change the image placement for the additional images added through image handler? As in, I want different angles of some mantels for our website but it put the images at the very bottom of the product page, and I want the thumbnails beneath the original larger product image. Anyone know how to do this? Thanks!
This is not an Image Handler support question.. Image Handler has NOTHING to do with the layout of the Product Detail page.
Please create a new post in the forum to pose your question so that you will be able to get better assistance from the community..
Good luck..