-
Re: Image Handler 2 Support
Problems with "file exists", etc.
The only way I have found to overcome this is:
1. Clear cache in IH2.
2. Go to the product page and install the small default image and update.
3. Go back to IH2 and open product - and your default image should be there. Edit the other images for that product.
-
Re: Image Handler 2 Support
Hi there,
I recently installed IH and its working fine, however my images for the mouseovereffect seem to popup a little random. I would really like them to stick to the pointer whn its held over the small image. Is there a way to fix this?
My shop if you like to check it out.
I am also using the greatest template I have found in ages Cherry Zen. Its so pretty, and matches my logo perfect :clap:
Thanks :D
Lisbet
-
Re: Image Handler 2 Support
I just installed IH2 and everything seems to work fine except that when you click on the Image to check a product and add to cart, it displays but with the FOLLOWING Error below the Image:
xt' => "\n " . $link); $col ++; if ($col > (IMAGES_AUTO_ADDED -1)) { $col = 0; $row ++; } } // end for loop } // endif ?>
What needs fixing?
www.afrosupermarket.com
:oops:
-
change size of medium images gives error on page in IE
I have (re)installed zen so I am talking about a completely original version without any adaptions. I added three products, installed the image handler and everything works fine.
But...: I would like to increase the size of the images that appear when you hover over the smal picture in the product listing. I thought I could do so by increasing the size of the medium pictures
So I changed the value for both
"Product Info - Image Width" and
"Product Info - Image Heigth."
If I do so, eveything in Firefox still works fine with indeed larger images, but in Internet Explorer I get an error on the page and the hovering images are not shown anymore.
Can somebody please tell me what I am doing wrong?
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
If it was working before what did you changed or do to break it?
Asking because you are missing a file that handles the hoover/popup.
Code:
includes/templates/future_zen/jscript/jscript_imagehover.js
M
I get firebug error "showtrail is not defined"
Seems like it cant load the jscript_imagehover.js but why?
It is not in my future_zen template directory, but it exist in template_default.
Why dont it use the default directory?
Any ideas
My site:
http://fotonapakymppi.fi/index.php?m...ex&language=en
-
Re: Image Handler 2 Support
Help...
I've installed Image Handler 2 on my Zen Cart 1.3.8 and am not able to get the Watermark feature to work. Also, on the home page and category pages, I do get a zooming effect (large image from small, not a medium image). On the product pages, I get a medium image and am able to click to view a large image in a new window. The watermarks are not working on any of my images, though I do have them installed, per the original README file.
When I go to Tools>Image Handler 2>Preview, I get this error message (several times):
Warning: imagepng() [function.imagepng]: Unable to open '/home/anaheimd/public_html/poodlesupply/bmz_cache/b/b0f493998f9ef653459006a1980f5f19.image.100x56.png' for writing: No such file or directory in /home/anaheimd/public_html/poodlesupply/includes/classes/bmz_image_handler.class.php on line 646
I've been through the manual many times and scoured the Image Handler2 thread.
Any suggestions would be wonderful...
-
Re: Image Handler 2 Support
I am confused and now really frustrated. I thought that I was installing Image Handler tested for use, for my version 1.3.xx. I had issues and since there were no real instructions included with the module, other than copy files into appropriate folders, and merge the ones that duplicated, I did my best to do so, but even with care, I seemed to have missed something ?
I then redownloaded to make sure that I had a good copy, then recopied all of the files a second time, trying to verify my work and then noticed some differences between the 1st and 2nd attempt. It wasn't until I was scrolling through the Contrib area, that I noticed TWO versions, identically named, IH2, but one was for the 1.2.xx series, the other for the 1.3.xx series ? So now I don't know if I had the failure based on installing the earlier version, or the later version ? I reversed the install order on #2 and I am still getting 'IH This and Thats' showing in the Admin/Config/Images area ?
If anything, can someone help me to finish stripping out the remaining IH so that I can go on, without reloading ZC ? If not, can some one tell the two authors of IH2, to rename their contribs to be a little more clearer or differently, other than just a version number that ZC references in their listings ?
My reference is: ( please note that they are on seperate pages so visual triggers are low )
http://www.zen-cart.com/index.php?ma...roducts_id=117
Image Handler 2 for v1.2.7
Download Now!
File size: 262712 bytes
Downloaded: 2321 times Zen Cart™ Version: v1.2.7
Version: 2.0
Last Updated: Jun 02 2006
Author: Tim Kroeger
http://www.zen-cart.com/index.php?ma...roducts_id=118
Image Handler 2 for v1.3.x
Download Now!
File size: 421818 bytes
Downloaded: 19583 times Zen Cart™ Version: v1.3.7
Version: 2.0_for_137
Last Updated: Oct 21 2007
Author: IMAGINADW.COM
What's really upsetting is alot of the files have duplicate file dates, so even that makes it even harder to figure out, which ones get weeded out ?
Frustrated greatly. :frusty:
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
marksu
I get firebug error "showtrail is not defined"
Seems like it cant load the jscript_imagehover.js but why?
It is not in my future_zen template directory, but it exist in template_default.
Why dont it use the default directory?
Any ideas
My site:
http://fotonapakymppi.fi/index.php?m...ex&language=en
Not sure why.
Why don't you move the file to your future_zen template directory.
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Twbeebe
My reference is: ( please note that they are on seperate pages so visual triggers are low )
http://www.zen-cart.com/index.php?ma...roducts_id=118
Image Handler 2 for v1.2.7
Download Now!
File size: 262712 bytes
Downloaded: 2321 times Zen Cart™ Version: v1.2.7
Version: 2.0
Last Updated: Jun 02 2006
Author: Tim Kroeger
http://www.zen-cart.com/index.php?ma...roducts_id=117
-=-=-=-=-
Image Handler 2 for v1.3.x
Download Now!
File size: 421818 bytes
Downloaded: 19583 times Zen Cart™ Version: v1.3.7
Version: 2.0_for_137
Last Updated: Oct 21 2007
Author: IMAGINADW.COM
Inadvertantly, I crossed the two url links going to their respective files.. the are corrected above. Sorry.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
Not sure why.
Why don't you move the file to your future_zen template directory.
M
Yes that is what I ened up doing.
This is not a solution though cause and not my way of working.
This kind of error should be fixed in stead of working arround, cause it can give lot of other problems in the future which could be difficult to solve.
Well I guess I have to try and figure out it later with better time.
The workarround has to do for now.
Thank you your replies.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
marksu
Yes that is what I ened up doing.
This is not a solution though cause and not my way of working.
This kind of error should be fixed in stead of working arround, cause it can give lot of other problems in the future which could be difficult to solve.
Well I guess I have to try and figure out it later with better time.
The workarround has to do for now.
Thank you your replies.
I don't see a problem by doing this, in fact this is what I do with all my templates.
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
I don't see a problem by doing this, in fact this is what I do with all my templates.
M
I do see your point.
But cause the problem lies in the main core overrides system it is important to have it fixed. Corrupted core features lead sto many other problems. I allready found a lot of problems cause of the corrupted override feature, like many modules were not working at all.
What I ended up doing was restored my old backup and got override feature working again. The backup did not include some of google modules, so I must add them carefully to make sure those where not the cause of the problem.
It can be that some core files just got corrupted for some reason and have nothing to do with module?
Well anyways the core files are now fixed using my backup.
Looks ok at least with my browser: http://fotonapakymppi.fi/index.php?m...ex&language=en
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Twbeebe
I am confused and now really frustrated. I thought that I was installing Image Handler tested for use, for my version 1.3.xx. I had issues and since there were no real instructions included with the module, other than copy files into appropriate folders, and merge the ones that duplicated, I did my best to do so, but even with care, I seemed to have missed something ?
I then redownloaded to make sure that I had a good copy, then recopied all of the files a second time, trying to verify my work and then noticed some differences between the 1st and 2nd attempt. It wasn't until I was scrolling through the Contrib area, that I noticed TWO versions, identically named, IH2, but one was for the 1.2.xx series, the other for the 1.3.xx series ? So now I don't know if I had the failure based on installing the earlier version, or the later version ? I reversed the install order on #2 and I am still getting 'IH This and Thats' showing in the Admin/Config/Images area ?
If anything, can someone help me to finish stripping out the remaining IH so that I can go on, without reloading ZC ? If not, can some one tell the two authors of IH2, to rename their contribs to be a little more clearer or differently, other than just a version number that ZC references in their listings ?
My reference is: ( please note that they are on seperate pages so visual triggers are low )
http://www.zen-cart.com/index.php?ma...roducts_id=117
Image Handler 2 for v1.2.7
Download Now!
File size: 262712 bytes
Downloaded: 2321 times Zen Cart™ Version: v1.2.7
Version: 2.0
Last Updated: Jun 02 2006
Author: Tim Kroeger
http://www.zen-cart.com/index.php?ma...roducts_id=118
Image Handler 2 for v1.3.x
Download Now!
File size: 421818 bytes
Downloaded: 19583 times Zen Cart™ Version: v1.3.7
Version: 2.0_for_137
Last Updated: Oct 21 2007
Author: IMAGINADW.COM
What's really upsetting is alot of the files have duplicate file dates, so even that makes it even harder to figure out, which ones get weeded out ?
Frustrated greatly. :frusty:
1.
Don't you have backup?
If you do use the backup and reinstall the module.
2.If you dont check what files is included in 1.2 version as well 1.3 version and move them out from ZC. Do not delete incase you still need them for some reason.
NOTE you might also need to remove 1.2 and 1.3 data from database. I presume 1.2 and 1.3 IH modules has apropriate uninstall sql scripts.
After this you reinstall the module.
After this if you are unlucky you lost som merged file and some other modules stop working.
Well then you need to check the other modules install instruction what code need to be added.
Note: if you have no backup remember to backup next time.:wink:
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
marksu
1.
Don't you have backup?
If you do use the backup and reinstall the module.
Hello Mark, thank you for responding..
I do have many back-ups, it's just that I don't sit still until I get a response off of the forum. I keep going.. So what I am faced with is, giving up some of my valued progress to give up something that can't be found, or... ?
2.If you dont check what files is included in 1.2 version as well 1.3 version and move them out from ZC. Do not delete incase you still need them for some reason.
I have been through each file set twice, double checking to make sure that all files injected, have been removed, verifying both sets..1.2 & 1.3, all are gone.. I can't discover them via .../Admin/Developer's Tool Kit/... etc. The text within all files, seems to be gone, only the /Admin/Configuration/Images/ shows signs of Image Handler ? Are these IH lines here on a raw initial install, with no modules added ? I might be trying to beat on a live horse vs. an assumed dead ghost ? i.e.;
IH resize images
IH small image filetype
IH small image background
IH watermark small images
IH zoom small images
IH small image hotzone
IH small image compression quality
IH medium image filetype
IH medium image background
IH watermark medium images
IH zoom medium images
IH medium image hotzone
IH medium image compression quality
IH large image filetype
IH large image background
IH watermark large images
IH large image compression quality
IH large image maximum width
IH large image maximum height
IH watermark gravity
IH zoom gravity
NOTE you might also need to remove 1.2 and 1.3 data from database. I presume 1.2 and 1.3 IH modules has apropriate uninstall sql scripts.
Database Tables are void of any IH markings.. ?
After this you reinstall the module.
After all of this effort, I am hesitant on wanting to reinstall a problem child with lack of any documentation other than gloat. As you can see from my text above, I don't know if one author, corrupted another's clean-up efforts, because like I said, alot of the files are identical in date & time so it's hard to tell, except file by file, what was updated for the new version release ? If I measure the value of a mod, by the number of responses in their support forum, I probably wouldn't have installed this one, having over 3000 'replies' ?
After this if you are unlucky you lost som merged file and some other modules stop working. Well then you need to check the other modules install instruction what code need to be added.
Note: if you have no backup remember to backup next time.:wink:
Again, thank you for your response, and I appreciate all of the helpful thoughts and ideas, but none have cleared out the ghost Image Handler text left behind. :cry:
-
1 Attachment(s)
Re: Image Handler 2 Support
I have just installed IH2 and i have a few interesting bugs.
1. Suppose i have a big product list which is needed to scroll down in order to view all the products. When i hover over small products pictures without scrolling showtrail works fine. I can see the large image near the small image.
However, when i scroll down a bit i the the big picture stays in a cretin place and not near the small product picture (See Screenshot attached).
2. My website has two different languages. Hebrew (Right to Left) and English. In the Hebrew language there is a weird bug. Show trail works only for some of the pictures. On the others it just doesn't show the large picture. When i switch to English, everything works like a charm.
Hope you could help me fixing these issues.
Tzachi
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Twbeebe
Again, thank you for your response, and I appreciate all of the helpful thoughts and ideas, but none have cleared out the ghost Image Handler text left behind. :cry:
Well could you clarify what you mean?
What is the actual problem.
-
Re: Image Handler 2 Support
Marksu, thank you for following the issue..
I had some issues with IH2 and had to go back and reverse install IH2. I found that I may have initially installed the earlier version intended for 1.2.xx, and then over wrote it with the more recent version for 1.3.xx. After comparing all of the files in the two contribs, I noticed that there was an equivelant IH series of lines floating in the /Admin/Configuration/Images/ area after all was said and done, with all images fully crippled from any showing on any area of the test site. I di restore my backups, one level, attempting to get to an earlier version of IH2, as it had worked briefly before something went awry.
At this point, I took the version that was just showing 'place holders' and reloaded IH2 for 1.3.xx.. For the most part, at this moment, most is working, except the hover feature, the enlargement feature and some product pages.. I have reloaded Zen more than once so far and have learned things the hard way each time, I guess with out the "Zen Bible", I will flounder until I buy it and flounder until I reload ZC one more time, being way more attentive to each contrib, working it through until completion before I add another one.
I admit, 3 weeks ago, I thought the contribs were time tested and flawless to be in position, so I loaded several at one time, without cautiously following each one through.
I appologize to you, to the authors of each contrib that I have scrutinized and humbly will start over again.. or at least two or three backups back.
Right now, even though the hover is not working and I remember having to dig the resolution out for that, when I select a product, only the header appears, until I hit refresh again to get the side boxes and main page to appear.. I'll return, a stronger Zenner, soon.
Thanks to all.
-
Re: Image Handler 2 Support
Just have to say i love the mod but i recently had to debug a problem where large res images where causing the product listing page to be empty.
after following the flow for a long time with echo statements it came down to that the following function was crashing: (bmz_image_handler.class.php)
$image = @imagecreatefromjpeg($src_name);
so i found this fix:
ini_set('memory_limit', '50M');
$image = @imagecreatefromjpeg($src_name);
perhaps this can be coded into the next release ???
:clap:
-
Re: Image Handler 2 Support
Has anyone tried to add the description of the product to the mouse over window? So in addition to the product title and the product Image I would like to add the product description as well.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
toaldingham
Hey,
Sorry, that was my mistake, i realised my error in uploading 3 images instead of one, as well as clearing the cache.
Thanks
Ciaran
HI!!!
I have the same problem.
I see the images in the Admin, but when I go on the page... nothing.
All my images are uploaded FTP and they have good naming. I wouldn't be able to see them in the IH2 Admin, nu?
What's the solution?
Thank you!
-
Re: Image Handler 2 Support
HELLO after searching then reading the last 40 pages, i havent been able to find a fix for my problem....
ive allready installed about 8 mods so far and none have caused a problem so far, but IH2 seems to have a problem displaying medium images on mouse over, the medium images never show up.....
all the other mods havent changed any of the files that IH2 effected, and ive allready restored back to a previous backup and tried re-installing IH2 and still no luck.....
any help allways appricated
http://www.sinspirations.com.au/stor...5000-p-28.html
Zen v1.3.8a
-
Re: Image Handler 2 Support
thought i should add all image pixel sizes are set identical, first thing i checked.....
Small Image Width - 100
Small Image Height - 80
also now ive downloaded firefox, i can confirm that it doesnt work in IE7 firefox 3.0 or chrome
everything else has been so easy uptill this point.....
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
MeDDish
HELLO after searching then reading the last 40 pages, i havent been able to find a fix for my problem....
ive allready installed about 8 mods so far and none have caused a problem so far, but IH2 seems to have a problem displaying medium images on mouse over, the medium images never show up.....
all the other mods havent changed any of the files that IH2 effected, and ive allready restored back to a previous backup and tried re-installing IH2 and still no luck.....
any help allways appricated
http://www.sinspirations.com.au/stor...5000-p-28.html
Zen v1.3.8a
after turning back 60 pages, and searching for the most coment tips (by tophand, thx :D ) i found i had to upload 'jscript_imagehover.js' to both the template default & my template folders, dont know why as the readme.txt didnt mention it it just said upload and it should be good.....
anyway fixed :D
Thx tophand for being overhelpfull to everyone else and giveing me someones posts to look up.... (and i think 1am and desperation also helped :D )
-
Re: Image Handler 2 Support
Hi Zenners, Twice I ask is somebody experiencing as listed here or have a Clue?
"I just installed IH2 and everything seems to work fine except that when you click on the Image to check a product and add to cart, it displays but with the FOLLOWING Error below the Image:
xt' => "\n " . $link); $col ++; if ($col > (IMAGES_AUTO_ADDED -1)) { $col = 0; $row ++; } } // end for loop } // endif ?>
What needs fixing?
www.afrosupermarket.com
"
-
Re: Image Handler 2 Support
I'm getting this error in IH2
-----------------
Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'NONSSL')
---------------
I googled it and read some forum posts, and tried some things and check some things but I can't get this working.
I could have sworn when I originally installed this it worked? I just reinstalled it and it still doesn't work.
I checked to make sure both the bmz cache and images folder are writable and that my image names don't have spaces or odd characters in them.
I can see that images are being properly uploaded into the images folder when I try to add an additional image with IH2 but I get the error above when I upload even though I see the new image is in the images folder.
Strange thing too is that the additional image doesn't show up on the products detail page like it should, it seems like I have multiple issues
-
Re: Image Handler 2 Support
Hi Tim!
Your mod is really cool and believe me that I searched almost 2 months for something like this and I even lost myself in the jungle of coding [and I don't know anything about it].
I need your help, please!!!
Everything works just fine and is so easy, but when I get to the product info page... i can't see the additional images at all. Do you know any solution to this?
Thank you and I am waiting with my eyes stiked to the monitor!
-
Re: Image Handler 2 Support
Hello there i seen to have some issue with getting the image handler to work :-( my hover images dont work and I am not sure if its actually spliting my images into 3 different sizes or not. I already had some produtcts uploaded on my site so i thought maybe it only works on freshly created products. So i created the new product and it still doesnt work. Please let me know what i'm doing wrong here!
here's the link to the new product that i created:
http://protunerparts.com/zen/index.p...products_id=49
rest of the products have been there before the image handler.
-
Re: Image Handler 2 Support
You could also edit line 78 of includes/functions/extra_functions/functions_bmz_image_handler.php (line number may be different for you) to pass an empty string for alt:
Code:
return array($src, '', intval($width), intval($height), $parameters);
This way you don't have to change a lot of zen_image() calls, and you're done with one simple code change. However, the alt tag will be missing in each and every image.
I wouldn't suggest editing the includes/functions/html_output.php file since it's a core file and more likely to change in new versions of Zen-Cart and Image Handler than functions_bmz_image_handler.php.
Cheers,
Tim[/QUOTE]
THANK YOU!!! REALLY HELPFUL!
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
credenscel
Hello there i seen to have some issue with getting the image handler to work :-( my hover images dont work and I am not sure if its actually spliting my images into 3 different sizes or not. I already had some produtcts uploaded on my site so i thought maybe it only works on freshly created products. So i created the new product and it still doesnt work. Please let me know what i'm doing wrong here!
here's the link to the new product that i created:
http://protunerparts.com/zen/index.p...products_id=49
rest of the products have been there before the image handler.
i think i fixed my problem. i think i was missing the javascript file and i also turned off the image hot zone as the hover images would only work if you centered the mouse on the hotzone directly, not the entire image.
a seperate question: does it matter where i upload the main image? does it have to be the main directory? Or can i place all the images in the "large" folder?
-
IH2 >>> Additional Images Big Problem!!!
Quote:
Originally Posted by
dakini
I'm using Zen Cart v1.3.8a on this site:
http://www.canepress.org/store/
I installed Image Handler 2 and it is resizing images for the main image on the product pages, but the additional images don't show up and a couple of pages in the Zen Cart Admin area won't display, either.
Hi, Dakini!
I just got on your website and I see that your additional images are working really nice on the product info page. I am :frusty: trying to do the same thing and I don't get it. I read until I got blue in the face and still nothing... besides everything, my additional images are swaping with the main one.
Can you please HELP ME!!!???????????????????
This is a link of the problem:
http://mainmag.net/cart/index.php?ma...products_id=36
I'll stay like this :shocking: until you help me!!!
Thank you!
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
credenscel
i think i fixed my problem. i think i was missing the javascript file and i also turned off the image hot zone as the hover images would only work if you centered the mouse on the hotzone directly, not the entire image.
a seperate question: does it matter where i upload the main image? does it have to be the main directory? Or can i place all the images in the "large" folder?
Putting images in the medium & large folder turns off IH for those images.
But you can use other (sub)folders under the image folder.
M
-
Re: IH2 >>> Additional Images Big Problem!!!
Quote:
Originally Posted by
justMARK
Hi, Dakini!
I just got on your website and I see that your additional images are working really nice on the product info page. I am :frusty: trying to do the same thing and I don't get it. I read until I got blue in the face and still nothing... besides everything, my additional images are swaping with the main one.
Can you please HELP ME!!!???????????????????
This is a link of the problem:
http://mainmag.net/cart/index.php?ma...products_id=36
I'll stay like this :shocking: until you help me!!!
Thank you!
Could be the template your using. Did you pay money for it?
Switch to the classic template and see what happens.
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
marksu
Well could you clarify what you mean?
What is the actual problem.
Hello again Marksu,
Well, I guess if I spent my first few weeks thoroughly scouring every detail within the Admin area of ZC, when it was 1st installed, I would have found out that my "Ghost IH" lines in /Admin/Configuration/Images/ would have been there from a fresh install, which I wound up having to do over the past couple of days ? Sorry to have you jump in for something that didn't 'click' with me in the previous beginning.. they are there, before installing IH2 has an upgrade.. :oops:
Things are stabilized now, I am backing up every, or every 2-3 contribs, depending on the complexity. I have yet to add product, so that I don't have to fight image manipulation for the moment, but there is a light still burning at the end of the tunnel.
Thanks again for you concerned willingness to help.
-
Re: Image Handler 2 Support - IE7 window size
Wow, more than 300 pages in this thread! IH2 is such a popular contribution, perhaps it deserves it's own sub-forum...?
Anyway, I just noticed an issue with IE7: When I click on a medium image on a product description page, the window that opens to display the large image is not properly sized---it's only 100px high.
It works flawlessly in FF3.
I see this code in the head:
Code:
<script language="javascript" type="text/javascript"><!--
function popupWindow(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}
function popupWindowPrice(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=400,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
It seems like IE is calling the first function rather than dynamically sizing the window to the image size.
ZC 1.3.7.
Any ideas?
TIA!!
-
Re: IH2 >>> Additional Images Big Problem!!!
Hi guys!
I fix it!!! Stupid me: it was just the option in
Configuration>Images>IH resize images... it was "no"... so it was easy... once I found it!
Try to check this one too because a lot of people seem to loose this nice effect just because they just play with some options that don't really know [see my case]
-
Re: IH2 >>> Additional Images Big Problem!!!
And about the problem with the additional images: the swap was caused by a stupid *.js that I forgot there from previous tries... so... again, my fault! Hi hi!!
I would like if comebody can tell me how can I make the additional images to be seen on the product info page and if I can make them hover... on top of everything... I would like to put my category description in the product info page and to take of the name of the category, to just let there the image...
Anyone?
If you help me I promis I will help you with nice graphics for your site :)
-
Re: Image Handler 2 Support
:(
I did not find a solution for my problem.
Any help will be appreciated.
Tzachi
Quote:
Originally Posted by
tslav
I have just installed IH2 and i have a few interesting bugs.
1. Suppose i have a big product list which is needed to scroll down in order to view all the products. When i hover over small products pictures without scrolling showtrail works fine. I can see the large image near the small image.
However, when i scroll down a bit i the the big picture stays in a cretin place and not near the small product picture (See Screenshot attached).
2. My website has two different languages. Hebrew (Right to Left) and English. In the Hebrew language there is a weird bug. Show trail works only for some of the pictures. On the others it just doesn't show the large picture. When i switch to English, everything works like a charm.
Hope you could help me fixing these issues.
Tzachi
-
1 Attachment(s)
Re: Image Handler 2 Support
Quote:
Originally Posted by
tslav
:(
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
-
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
-
Re: Image Handler 2 Support
HAHA! I made it. I found the solution for (1). :clap:
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 :)
-
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.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
miriam_t
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
Found this which is not in your style sheet in the "featured products" code.
Code:
<div class="centerBoxContentsFeatured centeredContent back"
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
1PLM
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
?>
Your code in red is not correct.
If you look at what is red, you will see it is a repeat of the next 9 lines. The code ends at the first // endif ?> and everything after that is displaying on your page.
Code:
<?php
/**
* additional_images module
*
* Prepares list of additional product images to be displayed in template
*
* @package templateSystem
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: additional_images.php 5369 2006-12-23 10:55:52Z drbyte $
*/
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
if (!defined('IMAGE_ADDITIONAL_DISPLAY_LINK_EVEN_WHEN_NO_LARGE')) define('IMAGE_ADDITIONAL_DISPLAY_LINK_EVEN_WHEN_NO_LARGE','Yes');
$images_array = array();
if ($products_image != '') {
// prepare image name
$products_image_extension = substr($products_image, strrpos($products_image, '.'));
$products_image_base = str_replace($products_image_extension, '', $products_image);
// if in a subdirectory
if (strrpos($products_image, '/')) {
$products_image_match = substr($products_image, strrpos($products_image, '/')+1);
//echo 'TEST 1: I match ' . $products_image_match . ' - ' . $file . ' - base ' . $products_image_base . '<br>';
$products_image_match = str_replace($products_image_extension, '', $products_image_match) . '_';
$products_image_base = $products_image_match;
}
$products_image_directory = str_replace($products_image, '', substr($products_image, strrpos($products_image, '/')));
if ($products_image_directory != '') {
$products_image_directory = DIR_WS_IMAGES . str_replace($products_image_directory, '', $products_image) . "/";
} else {
$products_image_directory = DIR_WS_IMAGES;
}
// Check for additional matching images
$file_extension = $products_image_extension;
$products_image_match_array = array();
if ($dir = @dir($products_image_directory)) {
while ($file = $dir->read()) {
if (!is_dir($products_image_directory . $file)) {
if (substr($file, strrpos($file, '.')) == $file_extension) {
// if(preg_match("/" . $products_image_match . "/i", $file) == '1') {
if(preg_match("/" . $products_image_base . "/i", $file) == '1') {
if ($file != $products_image) {
if ($products_image_base . str_replace($products_image_base, '', $file) == $file) {
// echo 'I AM A MATCH ' . $file . '<br>';
$images_array[] = $file;
} else {
// echo 'I AM NOT A MATCH ' . $file . '<br>';
}
}
}
}
}
}
if (sizeof($images_array)) {
sort($images_array);
}
$dir->close();
}
}
// 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 = true;//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);
// remove additional single quotes from image attributes (important!)
$thumb_slashes = preg_replace("/([^\\\\])'/", '$1\\\'', $thumb_slashes);
$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
?>
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
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
Nice to see that Problems are getting solved little bit...
I have replaced the file but that has resolved only one problem. Its showing perfectly in IE now...
The other problem like in CHrome and in Admin Sections... All are the same still.....
What should I do now?
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Atma Ram
Nice to see that Problems are getting solved little bit...
I have replaced the file but that has resolved only one problem. Its showing perfectly in IE now...
The other problem like in CHrome and in Admin Sections... All are the same still.....
What should I do now?
Can you answer my #2 question?
Possible you have corrupt png image(s).
Possible that Chrome doesn't support this or maybe you need to tune something on??
-
Re: Image Handler 2 Support
Tophand! Thank you very much! Great work here...
Quote:
Originally Posted by
tophand
Found this which is not in your style sheet in the "featured products" code.
Code:
<div class="centerBoxContentsFeatured centeredContent back"
M
You are right - it is hardcoded in includes/modules/featured_products.php.
What should I do with this? I only need the styling of centerBoxContentsFeatured...
The class of .centeredContent or .back is are mentioned in the css-file and but should not interfere with the rendering of the site, shouldn't it?
I don't know what I should do? Or is this difference the only thing you found so far, what "could" mess up with IE6, IE7 ?
I changed the featured_products.php to use only .centerBoxContentsFeatured, but that made no difference - hover images are not showing up. :cry:
-
Image Handler 2 Support - Mixed up images
One of my clients is using Image Handler on their site (and has been quite happily for a couple of years).
Recently they added some new items to their shop and images for the new items and some of their existing items, became mixed up. Old items with new images, some images appearing on multiple items. All very random.
Has anyone else had this happening to them?
Any ideas would be great.
Thanks!
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
Can you answer my #2 question?
Possible you have corrupt png image(s).
Possible that Chrome doesn't support this or maybe you need to tune something on??
Checked with the direct link to PNG image.... It is viewable and was okay...
What I have seen is, on the product listing page, its not showing the small image but when I mouse over, the zoom image comes up....
Regarding Chrome.. It doesn't support checked other websites on it....
-
Re: Image Handler 2 Support - Mixed up images
Quote:
Originally Posted by
ndg_uk
One of my clients is using Image Handler on their site (and has been quite happily for a couple of years).
Recently they added some new items to their shop and images for the new items and some of their existing items, became mixed up. Old items with new images, some images appearing on multiple items. All very random.
Has anyone else had this happening to them?
Any ideas would be great.
Thanks!
Images are not named correctly.
https://www.zen-cart.com/tutorials/index.php?article=58
https://www.zen-cart.com/tutorials/i...hp?article=315
M
-
Re: Image Handler 2 Support
Seems to have done the trick!
Thanks for your help
-
Re: Image Handler 2 Support
I am using latest version of image handler. Everything is working out fine for me.
There is only one problem. I am able to see watermarking on medium size image that gets howered up. But Watermarking does not appar on large size additional images that i add to the product. :(
-
Re: Image Handler 2 Support
I dont find any change from this file. Still hower images are far away from my small images.
Quote:
Originally Posted by
gilby
Problem 1. was addressed in post 1255
However the link there is no longer valid
Here is the file you need to replace
-
Re: Image Handler 2 Support
I've read through some of the 300+ pages in this thread but cannot find an answer to this one.
Installed IM v2 (1.3.8) ZC 1.3.8a online works fine.
Installed the exact same files locally using the same DB etc but as soon as I turn IM on some of the pages in front and admin load and some don't. Reload sorts the loading sometimes. Turn IM off and everything is working again.
Obviously there's a problem with Images being/ not being loaded and a conflict with IM and the local set up BUT as the errors/ conflicts are not consistent it's hard to pin down the cause.
Has anyone any idea what might be causing this?
Locally I'm using:
MAMP 1.7.2
PHP v5.2.6
GD support - enabed
GD v 2.0.34
Cheers in advance.
-
Re: Image Handler 2 Support
can somebody check www.afrosupermarket.com and see why the check out page is messed up ? I am using cherry Zen and IH2. Which of the two is causing the error? Try Checking out a product.
Do I ned to change any settings or code? I have asked the same under the Cherry Zen forum.
-
Re: Image Handler 2 Support
What happens when you uninstall IH?
-
Re: Image Handler 2 Support
How does image handler know what images are loaded against each product.
Why I'm asking is that I'm using SQL to do an update of the "products.products_image" field with the name of the products image. Ideally I want to be able to do the same thing with the medium and large files, but I can't see a table that holds the names anywhere.
I'm setting up my store and finding loading individual images a little painful. I'm quite comfortable with SQL so if it's holding the info in a database table it will save me hours.
Thanks in advance.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
1PLM
can somebody check
www.afrosupermarket.com and see why the check out page is messed up ? I am using cherry Zen and IH2. Which of the two is causing the error? Try Checking out a product.
Do I ned to change any settings or code? I have asked the same under the Cherry Zen forum.
Nothing to do with IH.
Looks like it's your stylesheet, maybe you have set to wide?
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
elrob
How does image handler know what images are loaded against each product.
Why I'm asking is that I'm using SQL to do an update of the "products.products_image" field with the name of the products image. Ideally I want to be able to do the same thing with the medium and large files, but I can't see a table that holds the names anywhere.
I'm setting up my store and finding loading individual images a little painful. I'm quite comfortable with SQL so if it's holding the info in a database table it will save me hours.
Thanks in advance.
If this is what you want to do then IH is not for you as you defeat the purpose of Image Handler.
With IH, you upload just the large image and IH will on the fly create the small and medium image files.
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
bigbadboy
What happens when you uninstall IH?
It still messes up, meaning like Tophand is suggesting it's go something to do with the CSS settings. The contents is too long for this post so, Tophand if it's Okay with you I will Send you a PM of the contents of the Stylesheet.
cheers.
-
Re: Image Handler 2 Support
I am using latest version of image handler. Everything is working out fine for me.
There is only one problem. I am able to see watermarking on medium size image that gets howered up. But Watermarking does not appar on large size additional images that i add to the product.
Someone please reply this is my second post. I dont want to repost the same but i am in urgent need.:(
Thanks in advance.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
If this is what you want to do then IH is not for you as you defeat the purpose of Image Handler.
With IH, you upload just the large image and IH will on the fly create the small and medium image files.
M
I understand that it resizes on the fly. In IH you have the option of loading 3 files. Default, medium and large. The default image location is listed in the the products table.
How does it know where the others are?
It appears it does know because my large files are in a different dir to the standard zencart config and it still displays a large image. If you only need to use one file then why does it give me the option of loading 3 file types.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
vaidyasp1
I am using latest version of image handler. Everything is working out fine for me.
There is only one problem. I am able to see watermarking on medium size image that gets howered up. But Watermarking does not appar on large size additional images that i add to the product.
Someone please reply this is my second post. I dont want to repost the same but i am in urgent need.:(
Thanks in advance.
A link helps us help you.
Have you check the file? Is it in the correct folder?
If you type the url of your watermark file into your browser will it display?
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
elrob
I understand that it resizes on the fly. In IH you have the option of loading 3 files. Default, medium and large. The default image location is listed in the the products table.
How does it know where the others are?
It appears it does know because my large files are in a different dir to the standard zencart config and it still displays a large image. If you only need to use one file then why does it give me the option of loading 3 file types.
Only the base name of the image is stored in the database.
Zen cart will scan the image folder/subfolders and bmz_cache folder for like named images while building the page.
This might be of help.
https://www.zen-cart.com/tutorials/index.php?article=58
M
-
Re: Image Handler 2 Support
I'm not having much luck with IH2, zencart 1.3.8 and the zj_silver template.
IH2 falls over on the zoom when the zj_silver template is invoked. And no hover either.
Here's a demo:
[URL="http://tinyurl.com/4bspyk"[/URL]
I've tried everything I can think of.
Does anyone know what I mean?
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
A link helps us help you.
Have you check the file? Is it in the correct folder?
If you type the url of your watermark file into your browser will it display?
M
Please refer following page. It is showing watermark when medium size image is loaded but whenever i click on large image for addtional image watermarking is not shown.
http://robokitsworld.com/index.php?m...roducts_id=186
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
vaidyasp1
The first image does show the watermark but the second image(http://robokitsworld.com/images/robo...gh_torque2.jpg) which is not being processed by IH will not show the watermark.
Could be a HoverBox thing.
How did you upload this image?
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tpeck
I'm not having much luck with IH2, zencart 1.3.8 and the zj_silver template.
IH2 falls over on the zoom when the zj_silver template is invoked. And no hover either.
Here's a demo:
[url="http://tinyurl.com/4bspyk"[/URL]
I've tried everything I can think of.
Does anyone know what I mean?
:oops:
Must not have check to see that you uploaded "ALL" the IH files and made sure they are in the correct override folders for the "zj_silver" template.
A quick look shows you are missing at least 2 files.
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
I tried both ways. Also b uploading through Admin->Tools->Image handler and through FTP.
In image handler when i click large image i get the image with watermark.
-
Re: Image Handler 2 Support
Hi everyone, I have a question about using IH2. Is there a way to get IH2 to fill in a resized image with the background color to get it to always create the same sized image? For example, could I set the product thumbnail to be 100x160, and if the resized image should be 100x130, it will fill in the other 30px with white (or whatever the selected background color happens to be). I know this can be done in GD and ImageMagick, but wasn't sure if IH2 handled it directly. I am totally fine with hacking the code, too, if anyone has a suggestion. Thanks!
-
Re: Image Handler 2 Support
Missing at least two files eh? OK - BTTDB (Back to the drawing board!)
Though I have added IH2 twice now to 2 fresh installs of zencart so it surprises me...
But thanks for alerting me to this.
-
Re: Image Handler 2 Support
sparrish, zencart itself allows for transparent backgrounds. Does that help?
Configuration / Images / IH small (medium, large) image background / "transparent"
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
sparrish
Hi everyone, I have a question about using IH2. Is there a way to get IH2 to fill in a resized image with the background color to get it to always create the same sized image? For example, could I set the product thumbnail to be 100x160, and if the resized image should be 100x130, it will fill in the other 30px with white (or whatever the selected background color happens to be). I know this can be done in GD and ImageMagick, but wasn't sure if IH2 handled it directly. I am totally fine with hacking the code, too, if anyone has a suggestion. Thanks!
Have you read the online documentation at http://breakmyzencart.com/ih-doc?
The link is in the "README" file in the IH package.
Under the heading "Image Dimensions".
M
-
Re: Image Handler 2 Support
I've been searching the forums, however, I cannot find anyone with this issue.
I am running
Zen Cart 1.3.8a
Image Handler 2.0_for_137
When I install Image handler, the administrator side looks great. However, when I go to the main page of the online catalog...the main column and footer do not show. I do see the left hand column, however the main column is missing.
Looking at the html source code for the website shows that no html is sent to the browser after displaying the left column.
When I go back into the administrator panel and uninstall Image handler, the columns come back.
I am pretty sure that I installed everything correctly, but did I miss something here? Do I have to copy files to multiple locations? Any insight is helpful!
thanks,
Jeff
-
Re: Image Handler 2 Support
Everything seems to be working, but I have a question. What could be causing this error?
Quote:
Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib failed to initialize compressor -- stream error in /var/www/html/includes/classes/bmz_image_handler.class.php on line 646
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
ctcentralinfo
Everything seems to be working, but I have a question. What could be causing this error?
Using product images in png format when the image library your host has installed on their server doesn't support them. Can be fixed by converting the images to jpeg or gif formats.
-
Re: Image Handler 2 Support
Hi All,
I have just installed this mod on a new site and it breaks the site when an image is moused over. The site loads fine but when an image on hover pops up it moves the entire site down and the image appears in the top of the browser.
Any ideas?
Thanks in advance,
John
-
Re: Image Handler 2 Support
ok i installed imagehandler2 on my test site, and it does display watermarked image but does not make the image pop out.
and seems like there is an error.
error code on IE is following
Line: 240
Char: 1
Error: Object expected
URL: http://www.goodthingscostume/store
my test site url is
http://www.goodthingscostume/store
please help me out
thanks in advance
-
Re: Image Handler 2 Support
from memory u have to turn on popups on images & set were the hover is, my website ive set hover to anywhere on the images, & removed the + hover watermark in the conrers
eg http://www.sinspirations.com.au/store
also acording to the readme make sure u change the BMZCACHE folder to 777 from memory
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
MeDDish
from memory u have to turn on popups on images & set were the hover is, my website ive set hover to anywhere on the images, & removed the + hover watermark in the conrers
can you explain lil more about this part?
i already set permission to 777 but i dont understand that part.
mine is still not working
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
kmvguy83
ok i installed imagehandler2 on my test site, and it does display watermarked image but does not make the image pop out.
and seems like there is an error.
error code on IE is following
Line: 240
Char: 1
Error: Object expected
URL:
http://www.goodthingscostume/store
my test site url is
http://www.goodthingscostume/store
please help me out
thanks in advance
You need to install "All" the IH files.
You are missing the one that controls the pop-up.
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
bumba000
Hi All,
I have just installed this mod on a new site and it breaks the site when an image is moused over. The site loads fine but when an image on hover pops up it moves the entire site down and the image appears in the top of the browser.
Any ideas?
Thanks in advance,
John
Did you search this thread for the fix for IE?
Been posted a few times. Latest post I think is just a couple pages back.
M
-
Re: Image Handler 2 Support
I've been working on this for a while and have not found a fix. I tried to find a bug using the file enable_error_logging.php, however, I did not find anything.
I have set all my images to 100 x 80 and still no luck. I also found out that when I turn off IH resize images, (under configuration->images) everything renders correctly.
Thanks again in advance,
Jeff
Quote:
Originally Posted by
jsankovich
I've been searching the forums, however, I cannot find anyone with this issue.
I am running
Zen Cart 1.3.8a
Image Handler 2.0_for_137
When I install Image handler, the administrator side looks great. However, when I go to the main page of the online catalog...the main column and footer do not show. I do see the left hand column, however the main column is missing.
Looking at the html source code for the website shows that no html is sent to the browser after displaying the left column.
When I go back into the administrator panel and uninstall Image handler, the columns come back.
I am pretty sure that I installed everything correctly, but did I miss something here? Do I have to copy files to multiple locations? Any insight is helpful!
thanks,
Jeff
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
Did you search this thread for the fix for IE?
Been posted a few times. Latest post I think is just a couple pages back.
M
Thanks for the info. The problem is appearing in FireFox. I haven't gotten to try it in IE yet. Will the IE fix fix the issue in FF as well?
Thanks,
John
-
Re: Image Handler 2 Support
Okay, I switched to classic template and the problem goes away. What could be causing this to happen.
**RECAP**
On hover the image appear above the site instead of near the cursor. It actually pushes the site down about 15em.
Thanks,
John
-
Re: Image Handler 2 Support
Ahhh. I was somehow missing the style_imagehover.css :clap:
Thanks All,
John
-
Re: Image Handler 2 Support
Anybody knows what is the problem as discussed in my previous 3081??
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
vaidyasp1
Anybody knows what is the problem as discussed in my previous 3081??
Is this the only product you are using additional image(s)?
Do all your images have "robokits" in the file name?
https://www.zen-cart.com/tutorials/index.php?article=58
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
bumba000
Ahhh. I was somehow missing the style_imagehover.css :clap:
Thanks All,
John
Glad you got it sorted out.
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
jsankovich
I've been working on this for a while and have not found a fix. I tried to find a bug using the file enable_error_logging.php, however, I did not find anything.
I have set all my images to 100 x 80 and still no luck. I also found out that when I turn off IH resize images, (under configuration->images) everything renders correctly.
Thanks again in advance,
Jeff
Try clearing out bmz_cache folder.
How big (kb or meg) are the images you are uploading?
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
No i am using multiple images for many products.
Yes a few of my image contains robokits_ at starting. Is this the problem??
-
Re: Image Handler 2 Support
I have found a bug between two modules.
I have installed the news module with the news summary on main page.
I also have Image handler 2.
My live website is : http://www.mishobonsai.com
My test platform is : http://www.plant-names.info
My problem is that the image in the news summary, as see on the live website, is not aligned on the right and text is under the image instead of starting on the left and continuing below. You can see a clean zencart with only news summary on http://www.pepperbasket.com
So, I have played on plant-names.info and I have removed all files pertaining to image handler, the news summary image was back to normal, but I had some browsing problem and viewing product specific page.
Ultimatly I would prefer to have both module installed, but If I have to remove one, I would remove image handler.
Any help ?