-
Re: Image Handler 2 Support
Quote:
Originally Posted by
blag
As a matter of interest Kuroi, and no criticism intended, do your mods validate?
Yes, they do. I use the HTML Validator add-in for Firefox that gives me an icon on every page to show if it is valid or not. It's a bit more difficult to keep track of in the Admin side of Zen Cart as there is still old, non-validating osCommerce code in there, but my mods never add non-validating code and, subject to a rule of minimal intrusion into core code, I remove or correct it where it falls into the areas which I am changing anyway.
Writing valid code isn't some geeky, ideal. It's just common-sense. It's so much easier to develop this way, than to try to fix the structural and cross-browser compatibility issues that arise later if you don't. That stills leaves the ... coughs ... Internet Explorer idiosyncrasies to be dealt with, but they're a known and widely documented quantity.
I like your idea of a campaign for valid mods, but I fully understand where Dr Byte is coming from. Performing a full test of all conditions, on all affected pages, for each of the hundreds of mods in the downloads section simply wouldn't be a feasible task. However, any non-validating code should be reported back to mod authors via their support threads.
-
Re: Image Handler 2 Support
Francocauter, I think you'll find that the Product General module pages and/or templates have the necessary code to display the popup hoverbox or image handler images, and that Document General and Document Product do not. e.g. Document General might be set up without any popup larger image support at all.
Comparing the header_php, main_template_vars and tpl_ files for the different product type might give you an idea of what needs to be changed or added.
Or possibly temporarily rename or copy Product General files to the Document General equivalents until the images start to appear?
-
Re: Image Handler 2 Support
Hello,
I have posted a part of this message in another area and thought that "this" must be the place to ask for help. Sorry about the extra posts. I am having the following issues:
1. Image Handler functionality does not work in Internet Explorer (no pop-up images... works fine in FF).
2. My layout gets hosed in Internet Explorer if I use more than 3 products across a row (3 works fine but 4 or 5 do not).
I really need help with this folks... my site is starting to go live and these are the only problems that I have that need to be resolved.
PLEASE HELP!
thank you in advance... I appreciate it very much.
-
Re: Image Handler 2 Support
Ok everyone... here is some more info on the outstanding issues I have. As I said before IE would not work with 4 or 5 images per row and it would break the layout. Well, just for grins, I tried to set it to 6 images per row and you guessed it.... IE worked fine and dandy using 6 items per row. Doesn't make a bit of sense to me but that's what happened. So I consider that problem fixed.... 6 across is fine for me.
That leaves the Image Handler hover functionality not working or not creating any images in IE. Works great in FF. When I hover over an image in IE, nothing happens. Nothing at all. Still looking for a fix for this one. I'm hoping that some of you veterans out there can help me.
Thanks for your help and listening to me go on and on... lol
-cd-
-
Re: Image Handler 2 Support
Fird my post above and replace your imagehover javascript, that will fix your hover problems in IE.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
gothstone
Fird my post above and replace your imagehover javascript, that will fix your hover problems in IE.
Hi GothStone, thanks for trying to help. It did not do the trick though (I'm sorry to say). Can you think of anything else that it might be? I put the javascript file in my template folder/jscript location. Does it need to go anywhere else?
I will keep looking... Hope you can come up with something else. I DO appreciate your help... thanks a bunch
-cd-
-
Re: Image Handler 2 Support
Hi There
I have this problem with IE7 (Only when there is additional images) with a "Document Product":
http://www.mkstay.co.uk/index.php?ma...&products_id=2
We have repaired the the same problem for the "Product General":
http://www.mkstay.co.uk/index.php?ma...&products_id=1
Do you have a solution so it works with the whole of the zen cart system and not just for the single problem?
Best Regards
Franco
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
kuroi
Yes, they do. I use the HTML Validator add-in for Firefox that gives me an icon on every page to show if it is valid or not. It's a bit more difficult to keep track of in the Admin side of Zen Cart as there is still old, non-validating osCommerce code in there, but my mods never add non-validating code and, subject to a rule of minimal intrusion into core code, I remove or correct it where it falls into the areas which I am changing anyway.
Writing valid code isn't some geeky, ideal. It's just common-sense. It's so much easier to develop this way, than to try to fix the structural and cross-browser compatibility issues that arise later if you don't. That stills leaves the ... coughs ... Internet Explorer idiosyncrasies to be dealt with, but they're a known and widely documented quantity.
I like your idea of a campaign for valid mods, but I fully understand where Dr Byte is coming from. Performing a full test of all conditions, on all affected pages, for each of the hundreds of mods in the downloads section simply wouldn't be a feasible task. However, any non-validating code should be reported back to mod authors via their support threads.
I am only suggesting that the Administrators of ZC, whosoever they may be, create a body of guru volunteers which validates and Certifies the code for a given mod when installed in a 'fresh' and unmodified example of the then 'current' release of ZC.
I fully appreciate that it would be impossible to check every mod's effect on every other mod, but my suggestion would at least give the potential user some degree of reassurance in that it is clean code when used in a specified 'base' environment. Any changes in either ZC, or in a mod, would require that the mod is re-submitted for Certification.
The un-certified mods could still exist in the downloads area, but Certified mods woul be identified somehow.
This could be financed quite easily I would have thought. Let's say that each download requires that the user pays a modest sum for the right to download a 'certified' mod, say $1 irrespective of the complexity of the mod, then ZC Admin might generate quite a bit of income. This income could be used to reimburse those who are responsible for issuing the Certification!! (Personally I wouldn't object to paying $1 for a mod - many are worth much more - and I don't have a problem in the Admin using the money because it is for the benefit of all users, which is why we contribute the mods in the first place)
It's comforting to know that your mods do validate - I need to check my own modest contribution I suppose!!!
-
Re: Image Handler 2 Support
Hello everyone,
I have found out something else about my Image Handler 2 installation. When I go to admin->Image Handler2->preview I see nothing but blank images instead of the stock images that come with Image Handler2. I did a right click on one image, clicked on "view image" and I got the following error: "/biz/biz/admin/images/ih-test.png does not exist." Notice that the "biz" folder is listed twice but in my directory tree it's really only listed once.
Any idea of what could be causing this? Could this have anything to do with the issues I'm having with IE not showing popup images?
thanks,
-cd-
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
crabdance
Hi GothStone, thanks for trying to help. It did not do the trick though (I'm sorry to say). Can you think of anything else that it might be? I put the javascript file in my template folder/jscript location. Does it need to go anywhere else?
I will keep looking... Hope you can come up with something else. I DO appreciate your help... thanks a bunch
-cd-
That file needs to go in includes/templates/template_default/jscript/ . I have no clue why, but I've never had any luck putting it in my customtemplate directory.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
francocauter
I tried to see what might be causeing the error, but the broken page has 64 validation errors in the XHTML! http://validator.w3.org/check?uri=ht...Inline&group=0
The "working" page is actualy worse at 91 errors: http://validator.w3.org/check?uri=ht...Inline&group=0
Go through these errors, find the offending code with the developers tool kit, and fix it. It can be nearly impossible to troubleshoot the problems a mod may create when they are compounded by other errors.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
crabdance
Hello everyone,
I have found out something else about my Image Handler 2 installation. When I go to admin->Image Handler2->preview I see nothing but blank images instead of the stock images that come with Image Handler2. I did a right click on one image, clicked on "view image" and I got the following error: "/biz/biz/admin/images/ih-test.png does not exist." Notice that the "biz" folder is listed twice but in my directory tree it's really only listed once.
Any idea of what could be causing this? Could this have anything to do with the issues I'm having with IE not showing popup images?
thanks,
-cd-
I suggest completly removing and reinstalling Image handler. Make sure to use its own function to remove it from the database. Also check your configure.php settings, through it these were wrong you should be having all kinds of other problems.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
gothstone
I suggest completly removing and reinstalling Image handler. Make sure to use its own function to remove it from the database. Also check your configure.php settings, through it these were wrong you should be having all kinds of other problems.
Hi Gothstone,
I uninstalled IH2 from the IH2 admin section. I also checked out the configure.php file. The php file was okay.... no directory dups there.
Now that I have uninstalled it and reinstalled It's not working at all now. It used to work in Firefox but not in IE. Now it doesn't work in either. I'm also using your newer javascript file.
I checked out the files that were blank before and had the dup directory in it and the double directory still shows up.
I might have overwritten some files that I had changed when I copied the IH2 files into their directories. So I'm at square one... still looking for help.
any ideas?
-cd-
-
Re: Image Handler 2 Support
Well, I got things to work in Firefox again. It was a configuration issue. I had to turn "small image hotzone" in Admin->Configuration->Images to "yes". Once I did that the zoom feature works in Firefox again. Now I'm back to just trying to get it to work in IE. Still need help...
Thanks for any help,
-cd-
-
Re: Image Handler 2 Support
Ok... new behavior to report. I have noticed that zoom images only works in Firefox if the "IH zoom gravity" is set to the default (Southeast). It does not work in any other position. Does that make any sense?
Just hoping to give enough information so maybe I can get the issues with IE resolved.
thanks everyone,
-cd-
-
Re: Image Handler 2 Support
I have to say that i really think that the "certified mod" approach is an exceptional idea and something that the mods should genuinely consider. As far as paying something minimal (such as $1) for a mod would be fantastic if it would mean paying a dedicated programmer to be responsible for changes to the code and keeping it current and up to date.
At least, that's my one and a half cents.
Quote:
Originally Posted by
blag
I am only suggesting that the Administrators of ZC, whosoever they may be, create a body of guru volunteers which validates and Certifies the code for a given mod when installed in a 'fresh' and unmodified example of the then 'current' release of ZC.
I fully appreciate that it would be impossible to check every mod's effect on every other mod, but my suggestion would at least give the potential user some degree of reassurance in that it is clean code when used in a specified 'base' environment. Any changes in either ZC, or in a mod, would require that the mod is re-submitted for Certification.
The un-certified mods could still exist in the downloads area, but Certified mods woul be identified somehow.
This could be financed quite easily I would have thought. Let's say that each download requires that the user pays a modest sum for the right to download a 'certified' mod, say $1 irrespective of the complexity of the mod, then ZC Admin might generate quite a bit of income. This income could be used to reimburse those who are responsible for issuing the Certification!! (Personally I wouldn't object to paying $1 for a mod - many are worth much more - and I don't have a problem in the Admin using the money because it is for the benefit of all users, which is why we contribute the mods in the first place)
It's comforting to know that your mods do validate - I need to check my own modest contribution I suppose!!!
-
Re: Image Handler 2 Support
As I said before copy includes/templates/classic/jscript/jscript_imagehover.js to includes/templates/template_default/jscript/jscript_imagehover.js . I don't know why it matters but it does. I would also try (as a test) disableing your googlesyndication ads JS, it may be interfeering.
It also looks like your style_imagehover.css is corrpt. Make sure your ftp program knows that .css file are ASCII, not binary and reupload it.
Also, I got my copy from http://downloads.breakmyzencart.com/...r_2.0-zc13.zip , not the downloads section here. I would not be supprised to learn that they are slightly different.
Quote:
Originally Posted by
crabdance
Ok... new behavior to report. I have noticed that zoom images only works in Firefox if the "IH zoom gravity" is set to the default (Southeast). It does not work in any other position. Does that make any sense?
Just hoping to give enough information so maybe I can get the issues with IE resolved.
thanks everyone,
-cd-
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
gothstone
That file needs to go in includes/templates/template_default/jscript/ . I have no clue why, but I've never had any luck putting it in my customtemplate directory.
ZC has a problem with Javascripts.
You must put ALL the relevant Javascripts in
either your includes/templates/template_default/jscript/ folder
or in my template folder/jscript location,
not in both, because you will encounter problems if you split your scripts between these two folders.
-
Re: Image Handler 2 Support
Hi, I installed Hoverbox2 on my test site and it worked great. I then installed Image Handler2 and that works ok but now Hoverbox2 has stopped working. Has anyone had this problem before and found a solution or have I just made a mistake. My test site is here; http://www.lingerieforadults.com/
Thanks in advance for any help.
-
Re: Image Handler 2 Support
This multiple image thing seems to be problem for many people I still haven't seen a single helpful answer.
Surely one of you gurus can explain this in PLAIN ENGLISH!
Please read further.
I'm sorry I can't help you but all I am trying to do is post a help thread.
This entire ZEN forum is the most frustrating experience I have ever encountered.
When I first went to support I get directed to FAQs which are totally inadequate, don't post a solution or get you to install a plug or something which is so complicated that you get into more problems than help.
Every FAQ I read is geared to web programmers.
Anyway I tried to post a help and got a box which asked me to state my problem.
I did so and then got told I could Not because I was not registered.
Everything I wrote down was gone.
So I registered.
Twice. (Could not find help before)
Now they seem to think I am a resident genius like them and don't need help, since I can't find any place where I can post a help request.
This is the only way I could communicate with someone, by replying to another request fro help.
Who are these ZEN people that they would ask for donations when they can't even provide SIMPLE solutions to all the complications they themselves have created.
There are all kinds of articles on multiple product images but I can't get them to show.
The other people who have asked the same things I have never seem to get a satisfactory answer either.
I followed one thread where they forced me to jump to 5 other ones since they could not be bothered to repeat what someone else had supposedly done. They obviously did not follow up since each thread fizzled out.
So I am going to post this in other help requests and maybe someone will simplify this entire forum.
HELP! Means allowing someone to ask for help in a simple way. ie: Somewhere there should be a "Post your help requests here."
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
gothstone
As I said before copy includes/templates/classic/jscript/jscript_imagehover.js to includes/templates/template_default/jscript/jscript_imagehover.js . I don't know why it matters but it does. I would also try (as a test) disableing your googlesyndication ads JS, it may be interfeering.
It also looks like your style_imagehover.css is corrpt. Make sure your ftp program knows that .css file are ASCII, not binary and reupload it.
Also, I got my copy from
http://downloads.breakmyzencart.com/...r_2.0-zc13.zip , not the downloads section here. I would not be supprised to learn that they are slightly different.
hi goth,
Thanks so much for trying to help. I have tried about every combination that you can think of when it comes to "where" the files should go. I just don't seem to be able to get it to work. When I put the files in the /template/template_default directory/jscript.. then Firefox doesn't even work. So far the best I have been able to do is to get Firefox to work but not IE..
I also completely removed the google ads and that did not help either.
I also did a fresh install with the files from: breakmyzencart.com.... still did not work... If you have any other ideas please let me know... I appreciate it.
-cd-
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
confused
This multiple image thing seems to be problem for many people I still haven't seen a single helpful answer.
Surely one of you gurus can explain this in PLAIN ENGLISH!
Please read further.
I'm sorry I can't help you but all I am trying to do is post a help thread.
This entire ZEN forum is the most frustrating experience I have ever encountered.
When I first went to support I get directed to FAQs which are totally inadequate, don't post a solution or get you to install a plug or something which is so complicated that you get into more problems than help.
Every FAQ I read is geared to web programmers.
Anyway I tried to post a help and got a box which asked me to state my problem.
I did so and then got told I could Not because I was not registered.
Everything I wrote down was gone.
So I registered.
Twice. (Could not find help before)
Now they seem to think I am a resident genius like them and don't need help, since I can't find any place where I can post a help request.
This is the only way I could communicate with someone, by replying to another request fro help.
Who are these ZEN people that they would ask for donations when they can't even provide SIMPLE solutions to all the complications they themselves have created.
There are all kinds of articles on multiple product images but I can't get them to show.
The other people who have asked the same things I have never seem to get a satisfactory answer either.
I followed one thread where they forced me to jump to 5 other ones since they could not be bothered to repeat what someone else had supposedly done. They obviously did not follow up since each thread fizzled out.
So I am going to post this in other help requests and maybe someone will simplify this entire forum.
HELP! Means allowing someone to ask for help in a simple way. ie: Somewhere there should be a "Post your help requests here."
If you are not useing the image handler mod, here are your simple directions: https://www.zen-cart.com/tutorials/index.php?article=58
If you are useing the image handler mod, go to your admin site. Click on Tools, then on Image handler. Select the category of the item you want to add extra pictures to, then select the item itself, ad click display.
Click the new file button. Click the first browse button. Find the extra image you want to use on your hard drive, and click open. Click save. Thats it.
I would highly suggest you buy the manual for ZenCart from here: http://www.zen-cart.com/index.php?main_page=page&id=16
It will walk you through setting up your store from the first steps. Go through it cover to cover over a few weeks, and make sure you understand it. If you have a question, search these forums, the wiki (http://www.zen-cart.com/wiki/index.php), and the FAQ's (https://www.zen-cart.com/tutorials/index.php). If you don't find an asnwer, then post a question.
ZenCart is not for everyone. If you have no interest in learning any scripting (basicaly programing, but there is a semantic difference) and you want to do more then ZenCart does out of the box, you will probably never like it. When and if ZenCart gets to the point that absolutly anyone can make it do anything they want, simply by clicking checkboxes the developers will be very very rich. As it stands, they let anyone who wants to use their product for free. They would like you to contribute, but they don't push. Your only other option is going to be hireing a developer to do everything for you. They won't ask nicely for a donation of whatever you feel like, they will sent you a bill; probably before they do any work at that.
People who read through the forums daily can get very tired of answering the same questions over and over again. Especialy when the answers are clearly documented. It also makes the forum a mess. The post you read linked to several other threads, and this bothered you. But if all the people asking repeaded questions had searched for theselves instead of asking again, you would have found your answers at the top of your own search, instead of reading 5 different pages. There are people on tis forum who will bend over backwards to help you, but you have to try to help yourself first.
-
Re: Image Handler 2 Support
Man, I'm compleatly stumped at this point. If you want to trust me, you can PM me a username/password for both your admin and ftp and I will poke around and try to figure it out. If not, I don't blame you, I would be pretty leary of it myself. My only other thought would be building a clean dev site, and installing IH. Once thats working, you coulld start adding your templates and mods in piece by piece till it broke.
Oh, ya, duh, I almost forgot. Try uploading a clean template (I know darkness is 100% in 1.3.7) and switching to it for a min. If it works that way, you have a template error. BTW - in the future I would suggest nameing your custom template something other than classic. That way you can always fall back to classic to test template vs mod issues.
Quote:
Originally Posted by
crabdance
hi goth,
Thanks so much for trying to help. I have tried about every combination that you can think of when it comes to "where" the files should go. I just don't seem to be able to get it to work. When I put the files in the /template/template_default directory/jscript.. then Firefox doesn't even work. So far the best I have been able to do is to get Firefox to work but not IE..
I also completely removed the google ads and that did not help either.
I also did a fresh install with the files from: breakmyzencart.com.... still did not work... If you have any other ideas please let me know... I appreciate it.
-cd-
-
Re: Image Handler 2 Support
I don't know that these can be made to play nicely. IH2 changes zencart to dynamicaly create the images. So your image names enup being random garbage like http://www.lingerieforadults.com/bmz...age.100x75.JPG
Hoverbox2 is looking for traditional image names like this
http://www.lingerieforadults.com/ima...achine_LRG.JPG
Problem is, that files doesn't exist on your site.
The only solution would be to change the Hoverbox code so it will look for the correct file name of http://www.lingerieforadults.com/ima...ee-machine.JPG
That should be realativly easy to do (I've never look at hoverbox so I can't say for sure) but its not ideal. One of the benefits of IH2 is you can upload your origional image from you camera at say 6 megapixles, and it will create all the small images for you. If you go this route, and upload a huge image like that your user will have to wait for a huge image to download that won't fir on their screen.
The better but harder fix it to make hoverbox handle images just like zencart does after the IH2 mod. That way it will pull the dynamic large image which you set a size limit to. The problem is, I have no idea how hoverbox pulls image names, an only a vuage understanding of how zencart/IH2 does it. Tim (the guy who wrote IH2) could do it, but I don't think anyone has heard from him in forever. I'm not sure who else besides the zencart developers could do it, and they don't usualy rewrite mods.
Good luck!
Quote:
Originally Posted by
lancaster
Hi, I installed Hoverbox2 on my test site and it worked great. I then installed Image Handler2 and that works ok but now Hoverbox2 has stopped working. Has anyone had this problem before and found a solution or have I just made a mistake. My test site is here;
http://www.lingerieforadults.com/
Thanks in advance for any help.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
crabdance
hi goth,
Thanks so much for trying to help. I have tried about every combination that you can think of when it comes to "where" the files should go. I just don't seem to be able to get it to work. When I put the files in the /template/template_default directory/jscript.. then Firefox doesn't even work. So far the best I have been able to do is to get Firefox to work but not IE..
I also completely removed the google ads and that did not help either.
I also did a fresh install with the files from: breakmyzencart.com.... still did not work... If you have any other ideas please let me know... I appreciate it.
-cd-
You having trouble with IE-6?
There is an error/bug in jscript_imagehover.js that affects IE.
Did you try this fix?
http://forum.zen-cart.com/showpost.p...postcount=1252
Link on the "very" bottom of the post where you can download a patched jscript_imagehover.js.
Also note that the newest IH files are located in Zen Cart downloads.
M
-
Re: Image Handler 2 Support
Hello Everyone
IH2 is doing it to me again and I do not remember what I done last time to make it work.
It does not show the image with mouseover for the new products in the homepage. I does not have the + in the little image.
Can you help me rember what to do, Please?
Best Regards
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
francocauter
Hello Everyone
IH2 is doing it to me again and I do not remember what I done last time to make it work.
It does not show the image with mouseover for the new products in the homepage. I does not have the + in the little image.
Can you help me rember what to do, Please?
Best Regards
I answered your question here: http://www.zen-cart.com/forum/showth...t=70627&page=7
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
testuser
yes thanks very much for that it worked fine
Hi There "Houston"
Nice to hear from you at last.
That worked great thanks very much
Best Regards
Franco
-
Re: Image Handler 2 Support
"File exists! Please alter the base name or suffix."
How do I fix this error when uploading an image?
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
lizar5-
"File exists! Please alter the base name or suffix."
How do I fix this error when uploading an image?
Try deleting the image with the same name, or if you have already ... try clearing the image cache under Tools :: Image Handler 2 .
-
Re: Image Handler 2 Support
Hello,
I tried Image Handler on my development environment. It provides great functionalities and seems to work fine. So I would like some more information before to deploy it on the production platform :
- I download image-handler_2.0-zc13 from breakmyzencart.com
There is also (another?) version on zencart.com download site.
Are they the same? If not what is the the good version for zc1.3.7?
- I compare some modules which replace original ZC's. I feel uncomfortable to see that some of them seem older than original ones. For example: includes/functions/html_output.php
Is the current version of Image Handler fully compatible with ZC1.3.7?
- I think that image preparation "on the fly" generates overloads.
Can you give me usual limits to respect to be sure our online customers get the best response time (max number of small images by pages for example)?
- Image Handler activate the hover functionnality based on "small image size" parameters. The Index page "What's new" listing is based on "Image - New product size" parameters. For many reasons, I set these parameters (width and height) higher than "small image" :
Small Image Width 130
Small Image Height 130
Image - New Products Width 150
Image - New Products Height 150
The result is that the hover functionnality is not activated on these images.
Do you know a solution to activate it anyway? change the size is not an answer :wink:...
Thank you in advance for your answers.
-
Zoom feature stopped working
Hi,
Zoom was working fine but somewhere along the road it stopped:
http://www.musecards.com/store/index...ain_page=index
Any idea how i can get it to work again?
Many thanks,
AW
-
Re: Zoom feature stopped working
Quote:
Originally Posted by
bluealice
What did you change? Or what did you add?
IH only stops working if you did something or left something out.
.
..
...
....
.....
......
.......
Just asking because you are missing a file, in this case the JS file.
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
cdelab
Hello,
I tried Image Handler on my development environment. It provides great functionalities and seems to work fine. So I would like some more information before to deploy it on the production platform :
- I download image-handler_2.0-zc13 from breakmyzencart.com
There is also (another?) version on zencart.com download site.
Are they the same? If not what is the the good version for zc1.3.7?
- I compare some modules which replace original ZC's. I feel uncomfortable to see that some of them seem older than original ones. For example: includes/functions/html_output.php
Is the current version of Image Handler fully compatible with ZC1.3.7?
- I think that image preparation "on the fly" generates overloads.
Can you give me usual limits to respect to be sure our online customers get the best response time (max number of small images by pages for example)?
- Image Handler activate the hover functionnality based on "small image size" parameters. The Index page "What's new" listing is based on "Image - New product size" parameters. For many reasons, I set these parameters (width and height) higher than "small image" :
Small Image Width 130
Small Image Height 130
Image - New Products Width 150
Image - New Products Height 150
The result is that the hover functionnality is not activated on these images.
Do you know a solution to activate it anyway? change the size is not an answer :wink:...
Thank you in advance for your answers.
I know, this thread has 174 pages but if you spent time you would have found most if not all the answers to your questions.
But I feeling in a helpful mood so... :D
Newest IH --> Version: 2.0 v0916 in the Zen Cart downloads <---click
If you check it out, you see it does not even have html_output.php.
It's stated right on the page.
Also works very well with ZC1.3.7
One of the reasons to use IH is..
* Improved site performance (faster loading, faster display).
Ok, some people have trouble because they are uploading very large image files (2+MB) and if it is not IH that chokes but could be either GD libraries or ImageMagick that chokes. Work around is to upload the largest file you want displayed (large file to display is 450x450, so that is the size uploaded).
Also loading up a page with a lot of images will slow down response time no matter if you use IH or not.
And you last question --> no.
Hoover only works on small images.
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
You having trouble with IE-6?
There is an error/bug in jscript_imagehover.js that affects IE.
Did you try this fix?
http://forum.zen-cart.com/showpost.p...postcount=1252
Link on the "very" bottom of the post where you can download a patched jscript_imagehover.js.
Also note that the newest IH files are located in Zen Cart downloads.
M
Hi tophand,
thanks for recommending the file fix but I have already tried that. IE still refuses to work right. FF works fine, just not IE.
If you think of anything else, please let me know. I appreciate the help!
-
Re: Zoom feature stopped working
I wish I knew, but alas I don't...
I've been working on the site daily, so lots has changed BUT I know I didn't delete any files.
Just basic changes to the CSS stylesheet, catalog item edits, etc.
Everything else seems to be working fine, including IH's other features.
How do I go about re-instating the zoom?
Many thanks.
Quote:
Originally Posted by
tophand
What did you change? Or what did you add?
IH only stops working if you did something or left something out.
.
..
...
....
.....
......
.......
Just asking because you are missing a file, in this case the JS file.
M
-
Re: Image Handler 2 Support
Hi there,
I'm having a problem with a number of recent Zen Cart installs where the image handler seems unable to correctly calculate image size when accessing the site through it's domain name (i.e http://trumblies.com/), but otherwise is fine when accessing through the servers' path (i.e http://hosting.tradeonlineproject.co...trumblies.com/). It seems to set the height to 0 when accessing through the domain but correctly calculates when not. Can anyone shed any light on this?
- Nick
-
Re: Zoom feature stopped working
Quote:
Originally Posted by
bluealice
I wish I knew, but alas I don't...
I've been working on the site daily, so lots has changed BUT I know I didn't delete any files.
Just basic changes to the CSS stylesheet, catalog item edits, etc.
Everything else seems to be working fine, including IH's other features.
How do I go about re-instating the zoom?
Many thanks.
Check your IH files you downloaded.
You need to add this file, "jscript_imagehover.js" to your jscript folder.
The path:
includes/templates/custom/jscript/jscript_imagehover.js
M
-
Re: Image Handler 2 Support
:frusty:
Can anyone tell me the file path to change all of the zen wording to my own on my website?
Plez help! I am literally beating my head against the wall.
Sandy
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
crabdance
Hi tophand,
thanks for recommending the file fix but I have already tried that. IE still refuses to work right. FF works fine, just not IE.
If you think of anything else, please let me know. I appreciate the help!
Does this site work for you using IE?
Difficulttrail.com
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
sandykr09
:frusty:
Can anyone tell me the file path to change all of the zen wording to my own on my website?
Plez help! I am literally beating my head against the wall.
Sandy
:oops: you posted your question in the the wrong place.
You need to start here:
https://www.zen-cart.com/tutorials/index.php
http://www.zen-cart.com/wiki/index.php/Main_Page
http://forum.zen-cart.com/forumdisplay.php?f=14
And getting the book really will help big time.
http://www.zen-cart.com/index.php?main_page=page&id=16
HTH,
M
-
Re: Zoom feature stopped working
OK I will try that. I am really lame at website building. Thanks
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
tophand,
Yes, that site works perfectly with IE. What does that mean?
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
crabdance
tophand,
Yes, that site works perfectly with IE. What does that mean?
Means something not right with your IH files.
Maybe you missed something or you are using old version of IH.
That is my site and this is what I have.
Image Handler 2 for v1.3.x, Version: 2.0 v0916
Also applied the javascript fix for IE6.
M
-
Re: Image Handler 2 Support
let me know if you got my PM
thanks
-
Re: Image Handler 2 Support
Have it working in IE and FF right now. It only works when you hover over the plus sign but I think that can be changed in the configuration.
will let you all know what happens as soon as I can...
-
Re: Image Handler 2 Support
Ok.. here's what I did to get it to work. It may be dumb to someone but not to everyone I hope...
1. Installed the latest version of IH from Zen Cart Forums.
2. Made SURE that I overwrote any files on the upgrade/re-install
3. jscript_imagehover.js is in the my_template/jscript directory (not in Template_default/jscript)
4. I used the jscript_imagehover.js fix for IE6
5. style_imagehover.css is in my my_template/css directory
I know that this will seem like nothing to some people but that's what I did to make it work right and I have been working on this issue for a number of days now. I hope that what I wrote will help someone else if they are have problems.
And finally I can say... if anyone needs help getting this thing to work... please feel free to contact me and I will be glad to help!
Thanks to everyone for putting up with me while I got this thing working!
:clap:
-
Re: Image Handler 2 Support
Hi
I dont know what i have done wrong here but i have uploaded all the files and i'm getting this error message
Fatal error: Cannot redeclare class gifinfo in /home/light/public_html/includes/classes/bmz_gif_info.class.php on line 10
i am desperate to get this site up and running and now can't even load it, please help:oops:
-
Re: Image Handler 2 Support
Strange things!
with bmz_cache to 755 nothing must write; the image on site are incorrect (scaling) but the imagehove is the medium;
1:Able bmz_cache to 777 (with subfolders); the subfolders are populated by cached image; the image on site are right (good image) but imagehover is the the as small image.
(see what I say on 100asa.it)
Why this?
Thanks
-
Re: Image Handler 2 Support
Hi
I dont know what i have done wrong here but i have uploaded all the files and i'm getting this error message
Fatal error: Cannot redeclare class gifinfo in /home/light/public_html/includes/classes/bmz_gif_info.class.php on line 10
i am desperate to get this site up and running and now can't even load the index page. i have reinstalled the module several times now.
The site in question is www.firstlightgay.co.uk
it is going to be a adult DVD site but there is obviously nothing to see but a white page with the above error.
Can somebody please shed some light on this i could really do with this module and don't want to have to uninstall.
:frusty:
-
Re: Image Handler 2 Support
I have IH2 installed on my 1.3.7 version of ZC.
For some items I add extra images but they end up on other products that I do not want the image to show up on.
Any ideas?
-
Re: Image Handler 2 Support
[QUOTE=crabdance;446395]Ok.. here's what I did to get it to work. It may be dumb to someone but not to everyone I hope...
5. style_imagehover.css is in my my_template/css directory
Thanks for the solution Crabdance... this number five solved the most important of my weird image handler problems too. Although... my site still reports that there is an error on the page. Is it possible to tell where just from that error? (I wince to write such a newb question, but there you go! :shocking:) Here is the site: http://www.pccapital.ca
Any general advice on getting rid of errors that don't "seem" to cause any problems?
Thanks for the tips!
Todd - a grateful newb, hehe...
-
Re: Image Handler 2 Support
[QUOTE=bifficus;446827][QUOTE=crabdance;446395]
Thanks for the solution Crabdance... this number five solved the most important of my weird image handler problems too. Although... my site still reports that there is an error on the page. Is it possible to tell where just from that error? QUOTE]
Ok, learned a little more. Check out the weird image hoover problems on the pccapital site (link below). note that the super bus image seems to work fine, but that the others only hoover if the mouse pointer accesses the image from above. If you drag over from below or from either side, they do not work.
How is that for a cool brain teaser!
Any ideas anyone?
Thanks!
PS: How do you like my flash banner? Neat eh? Was fun to do... hope it actually helps.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Graphicman
Hi
I dont know what i have done wrong here but i have uploaded all the files and i'm getting this error message
Fatal error: Cannot redeclare class gifinfo in /home/light/public_html/includes/classes/bmz_gif_info.class.php on line 10
i am desperate to get this site up and running and now can't even load it, please help:oops:
I just checked your site and could not see anything wrong. Did you solve your problem?
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
100asa
Strange things!
with bmz_cache to 755 nothing must write; the image on site are incorrect (scaling) but the imagehove is the medium;
1:Able bmz_cache to 777 (with subfolders); the subfolders are populated by cached image; the image on site are right (good image) but imagehover is the the as small image.
(see what I say on 100asa.it)
Why this?
Thanks
Go into admin->configuration->images and change the "product info image width" to 200 and set the height to "0". That should help you fix your small image problem. Hope this helps.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
crabdance
I just checked your site and could not see anything wrong. Did you solve your problem?
Hi There,
Still working on some other issues, so didn't update this yet. My apologies. I tried deleting the IH cache, and that seemed to solve the weird display problem.
As for the errors on my page, I submitted it to the validation site, and have figured out that the erros seem to be caused by the flash mod that i have installed. Though it works, I guess it doesn't follow xhtml markup rules and shows as an error. I will also post this to that other thread.
Thanks for checking! I appreciate it!
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Graphicman
Hi
I dont know what i have done wrong here but i have uploaded all the files and i'm getting this error message
Fatal error: Cannot redeclare class gifinfo in
/home/light/public_html/includes/classes/bmz_gif_info.class.php on line
10
i am desperate to get this site up and running and now can't even load the index page. i have reinstalled the module several times now.
The site in question is
www.firstlightgay.co.uk
it is going to be a adult DVD site but there is obviously nothing to see but a white page with the above error.
Can somebody please shed some light on this i could really do with this module and don't want to have to uninstall.
:frusty:
I don't know enough to be able to say what exactly is causing this but I would recommend that you get the latest Image Handler 2 files from the download section and re-install. Make SURE that you overwrite the existing files.
Hope this helps
-
Re: Image Handler 2 Support
[QUOTE=bifficus;446831][QUOTE=bifficus;446827]
Quote:
Originally Posted by
crabdance
Thanks for the solution Crabdance... this number five solved the most important of my weird image handler problems too. Although... my site still reports that there is an error on the page. Is it possible to tell where just from that error? QUOTE]
Ok, learned a little more. Check out the weird image hoover problems on the pccapital site (link below). note that the super bus image seems to work fine, but that the others only hoover if the mouse pointer accesses the image from above. If you drag over from below or from either side, they do not work.
How is that for a cool brain teaser!
Any ideas anyone?
Thanks!
PS: How do you like my flash banner? Neat eh? Was fun to do... hope it actually helps.
I just went to your site and it looks like you have things working. It worked as it should for me when I used the mouse to hover over the images. Do you have it working? I did not see any errors. Oh and yes, your flash image looks cool!
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
webrob
I have IH2 installed on my 1.3.7 version of ZC.
For some items I add extra images but they end up on other products that I do not want the image to show up on.
Any ideas?
A link?
How are you uploading the extra images?
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Graphicman
Hi
I dont know what i have done wrong here but i have uploaded all the files and i'm getting this error message
Fatal error: Cannot redeclare class gifinfo in
/home/light/public_html/includes/classes/bmz_gif_info.class.php on line
10
i am desperate to get this site up and running and now can't even load the index page. i have reinstalled the module several times now.
The site in question is
www.firstlightgay.co.uk
it is going to be a adult DVD site but there is obviously nothing to see but a white page with the above error.
Can somebody please shed some light on this i could really do with this module and don't want to have to uninstall.
:frusty:
If you uninstall (you are not deleting any files)
Admin-->Tools--->Image Handler--->Admin--->Uninstall
Does the site come up?
I don't think this has any thing do with IH. A search pointed to a server software issue (Zend). So you might check with your host.
M
-
1 Attachment(s)
Re: Image Handler 2 Support
Quote:
Originally Posted by
100asa
Strange things!
with bmz_cache to 755 nothing must write; the image on site are incorrect (scaling) but the imagehove is the medium;
1:Able bmz_cache to 777 (with subfolders); the subfolders are populated by cached image; the image on site are right (good image) but imagehover is the the as small image.
(see what I say on 100asa.it)
Why this?
Thanks
If you want images in "New Products" and "Featured Products" to hover then you need to set the image size to match small images set in your configuration.
In your Admin --> Configuration --> Images
To scale right set the width to 110 and height to 0
See image below.
You might want to clear the image cache.
Admin-->Tools---> Image Handler ---> Admin ---> Clear image cache
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
If you uninstall (you are not deleting any files)
Admin-->Tools--->Image Handler--->Admin--->Uninstall
Does the site come up?
I don't think this has any thing do with IH. A search pointed to a server software issue (Zend). So you might check with your host.
M
Hi
Thank you everybody for your input,
i have now sorted it :clap:
My problem was as it turns out my error (what a surprise) and i think an initial install problem.
I just reinstalled the whole site and started from scratch and everything is now fine. I think i dropped a file into the wrong folder and was that tired couldn't pick up on it.
I'm just glad that i followed the excellent advice which you always get on the Zen Cart forums and continuously backed my projects up, this allowed me to recover from this situation.
Thanks again:smile:
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
nickylee
Hi there,
I'm having a problem with a number of recent Zen Cart installs where the image handler seems unable to correctly calculate image size when accessing the site through it's domain name (i.e
http://trumblies.com/), but otherwise is fine when accessing through the servers' path (i.e
http://hosting.tradeonlineproject.co...trumblies.com/). It seems to set the height to 0 when accessing through the domain but correctly calculates when not. Can anyone shed any light on this?
- Nick
No-one got any ideas on this? It's driving me (and my clients) nuts.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
nickylee
No-one got any ideas on this? It's driving me (and my clients) nuts.
Check to make sure your configure.php is properly configured for the actual domain name:
includes/configure.php as well as the admin version.
Also, give the Clear Image cache a shot once you've done the above:
Tools :: Image Handler 2
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
testuser
Check to make sure your configure.php is properly configured for the actual domain name:
includes/configure.php as well as the admin version.
Also, give the Clear Image cache a shot once you've done the above:
Tools :: Image Handler 2
The configure files are set up correctly but it's spitting out errors when trying to clear the cache.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
nickylee
The configure files are set up correctly but it's spitting out errors when trying to clear the cache.
You double check to see all files for IH are uploaded and in the correct place?
Your using the latest version of IH?
You can try this.
Uninstall IH --->Tools --->Image Handler --> Admin --->Uninstall.
(note, your not deleting any files)
The page will refresh, now clear the image cache.
(If still getting errors you can FTP to the bmz-cache folder and delete all the sub folders).
Again from Image Handler Admin, you can install IH.
M
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
You double check to see all files for IH are uploaded and in the correct place?
Your using the latest version of IH?
You can try this.
Uninstall IH --->Tools --->Image Handler --> Admin --->Uninstall.
(note, your not deleting any files)
The page will refresh, now clear the image cache.
(If still getting errors you can FTP to the bmz-cache folder and delete all the sub folders).
Again from Image Handler Admin, you can install IH.
M
I've tried all of this already too. You can see why I'm totally stumped... :dontgetit
Especially since it's working fine through the direct server path. Weirdly I've also noticed that it's using the defined settings for "Small Image" everywhere and ignoring the other section specific settings such as "Product Info Image" etc., but ONLY when accessing via the domain name.
-
Re: Image Handler 2 Support
Aha! The crisis is over, it turned out that Safe Mode had been accidentally turned on for the affected sites despite our installation template being setup to switch it off.
Thanks for your help though. :smile:
-
Re: Image Handler 2 Support
I have installed this mod on 4 sites so far and can get the zoom working on this site: http://thebestofgifts.com The images show up in admin but no zoom...any ideas? Thanks! Amy
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Doodlebuckets
I have installed this mod on 4 sites so far and can get the zoom working on this site:
http://thebestofgifts.com The images show up in admin but no zoom...any ideas? Thanks! Amy
Hi Amy,
The only thing I know to tell you is to reinstall your IH2 files again. Make sure you overwrite ALL files (check your ftp software). Use the javascript fix for the image_hover.js file. Make sure your files are in the right place. I could not get it to work when the .js files were installed in the template_default/jscript directory. I had to use my_template/jscript directory.
Don't know if this will help you or if you already have tried it but I hope this will help.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
crabdance
Hi Amy,
The only thing I know to tell you is to reinstall your IH2 files again. Make sure you overwrite ALL files (check your ftp software). Use the javascript fix for the image_hover.js file. Make sure your files are in the right place. I could not get it to work when the .js files were installed in the template_default/jscript directory. I had to use my_template/jscript directory.
Don't know if this will help you or if you already have tried it but I hope this will help.
That's it!!! I had forgotten that was something I had to do before. I appreciate the reminder...So did you get it working in IE?
Amy
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Doodlebuckets
That's it!!! I had forgotten that was something I had to do before. I appreciate the reminder...So did you get it working in IE?
Amy
Glad you got it working! And yes, I did get it to work for IE. I think that the way I got it to work was with the IE6 javascript fix. Is it working in IE for you?
Happy it's doing better for you...
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
crabdance
Glad you got it working! And yes, I did get it to work for IE. I think that the way I got it to work was with the IE6 javascript fix. Is it working in IE for you?
Happy it's doing better for you...
It does work with on exception. All the images zoom in Firefox and most zoom in IE, except for the "New Products". The top row zooms but not the 2nd and 3rd rows. In the product categories, the same pics zoom. http://thebestofgifts.com
Odd, no?
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Doodlebuckets
It does work with on exception. All the images zoom in Firefox and most zoom in IE, except for the "New Products". The top row zooms but not the 2nd and 3rd rows. In the product categories, the same pics zoom.
http://thebestofgifts.com
Odd, no?
[FONT=Verdana]There is a IE bug in the jscrpt_imagehover.js[FONT=monospace].[/FONT]
The hover works, it just coming up outside the screen.
A few posts back I posted a link for the fix.
You can edit the jscrpt_imagehover.js[/FONT][FONT=monospace][FONT=Verdana] file yourself or there is a patched file you can use.
You can search this thread for "IE Bug" also.
M
[/FONT][/FONT]
-
Re: Image Handler 2 Support
Hello pro Zenners,
I have tried to search far and wide for the answer to this but please bear with me if it's already been discussed...
I have ZC 1.37 and IH2 up and working great. The problem is when I add new products via duplication.
Most of my products are similar, only the photos and description change a little from each one to the other, so to add a new product I choose duplicate, duplicate to same category, and keep attributes.
That gives me a new product where I can edit the description, etc. But at first I tried to go in and 'delete' the images for that product (new one) with IH then add new images. What I realized is that deleted the images from the PREVIOUS product that it was copied from.
So, I think, the right way to go about it if I want to copy this way is not to delete the images on the new product but instead go in and choose the first one, hit 'edit', upload that pic, choose the 2nd, 'edit' , upload, etc.
Is this right? Am I missing a trick that everyone else uses?!?!?
Thanks!
Patrick
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
[FONT=Verdana]There is a IE bug in the jscrpt_imagehover.js[FONT=monospace].[/FONT]
The hover works, it just coming up outside the screen.
A few posts back I posted a link for the fix.
You can edit the jscrpt_imagehover.js[/FONT][FONT=monospace][FONT=Verdana] file yourself or there is a patched file you can use.
You can search this thread for "IE Bug" also.
M
[/FONT][/FONT]
Thanks! I found it...and it works great now :)
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
hifipj
Hello pro Zenners,
I have tried to search far and wide for the answer to this but please bear with me if it's already been discussed...
I have ZC 1.37 and IH2 up and working great. The problem is when I add new products via duplication.
Most of my products are similar, only the photos and description change a little from each one to the other, so to add a new product I choose duplicate, duplicate to same category, and keep attributes.
That gives me a new product where I can edit the description, etc. But at first I tried to go in and 'delete' the images for that product (new one) with IH then add new images. What I realized is that deleted the images from the PREVIOUS product that it was copied from.
So, I think, the right way to go about it if I want to copy this way is not to delete the images on the new product but instead go in and choose the first one, hit 'edit', upload that pic, choose the 2nd, 'edit' , upload, etc.
Is this right? Am I missing a trick that everyone else uses?!?!?
Thanks!
Patrick
I've done quite a bit of copying to create my similar product pages. I just copy the product, then edit it and upload the new file via the product editing page. I've never had a problem with it working and I don't have duplicate images on the product pages.
-
Images at bottom of browser page don't hoover - error
[QUOTE=crabdance;446866][QUOTE=bifficus;446831]
Quote:
Originally Posted by
bifficus
I just went to your site and it looks like you have things working. It worked as it should for me when I used the mouse to hover over the images. Do you have it working? I did not see any errors. Oh and yes, your flash image looks cool!
Hello All,
I thought it might be helpful to wrap up all of the work I have been doing on this issue into a single post. When I get it resolved, I will edit it to add the solution.
The problem: IH works fine so long as the image hover will fit on the browser window when you mouse over the original image. Thus, when I first load the home page for the store, i can mouse over the top products in the list and see the hovers just fine. No errors initially reported in the bottom left of the browser window.
When I try to hover over a window nearer the bottom, such that the popup hover position relative to the original image would not by default fit into the visible space of the brower window, I immediately get an error message in the bottom of the browser (IE 6.x)
If I scroll down the browser page, then rehover over the image, the hover will display correctly. However, once the "error" message shows in the browser footer, it will not go away. Refreshing the page will start the whole thing over again.
I know that this problem is resolvable as I have seen member sites that are working correctly. I have messed around with the hover java script to try and adjust sizing and positioning, but no luck.
At this point, I think I will do what some other people have done to resolve IH issues - strip out IH and try a file by file insert to ensure that it goes correctly. Unfortunately, that won't help much to source the problem, but at least if it "fixes" it, it might provide some help for others.
Stay tuned...
-
Re: Images at bottom of browser page don't hoover - error
[QUOTE=bifficus;448263][QUOTE=crabdance;446866]
Quote:
Originally Posted by
bifficus
Hello All,
I thought it might be helpful to wrap up all of the work I have been doing on this issue into a single post. When I get it resolved, I will edit it to add the solution.
The problem: IH works fine so long as the image hover will fit on the browser window when you mouse over the original image. Thus, when I first load the home page for the store, i can mouse over the top products in the list and see the hovers just fine. No errors initially reported in the bottom left of the browser window.
When I try to hover over a window nearer the bottom, such that the popup hover position relative to the original image would not by default fit into the visible space of the brower window, I immediately get an error message in the bottom of the browser (IE 6.x)
If I scroll down the browser page, then rehover over the image, the hover will display correctly. However, once the "error" message shows in the browser footer, it will not go away. Refreshing the page will start the whole thing over again.
I know that this problem is resolvable as I have seen member sites that are working correctly. I have messed around with the hover java script to try and adjust sizing and positioning, but no luck.
At this point, I think I will do what some other people have done to resolve IH issues - strip out IH and try a file by file insert to ensure that it goes correctly. Unfortunately, that won't help much to source the problem, but at least if it "fixes" it, it might provide some help for others.
Stay tuned...
Nope... No luck. I also attempted to switch to the classic template from the Sophy Blue Grey that I am using, but that made no difference.
Any tips would be greatly appreciated at this point, as I am pretty much beyond my ability to resolve this issue.
THanks,
-
Re: Image Handler 2 Support
-
No Luck - here is my jcript_imagehover
Quote:
Originally Posted by
Merlinpa1969
Hi, I installed all those patches, but no luck. No change in behavior. Here is the Jscript_imagehover.php contents:
/*
Simple Image Trail script- By JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
This notice must stay intact
Modified by Tim Kroeger ([email protected]) for use with
image handler 2 and better cross browser functionality
*/
var offsetfrommouse=[10,10]; //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
var displayduration=0; //duration in seconds image should remain visible. 0 for always.
var currentimageheight = 400; // maximum image size.
var padding=10; // padding must by larger than specified div padding in stylessheet
// Global variables for sizes of hoverimg
// Defined in "showtrail()", used in "followmouse()"
var zoomimg_w=0;
var zoomimg_h=0;
if (document.getElementById || document.all){
document.write('<div id="trailimageid">');
document.write('</div>');
}
function getObj(name) {
if (document.getElementById) {
this.obj = document.getElementById(name);
this.style = document.getElementById(name).style;
} else if (document.all) {
this.obj = document.all[name];
this.style = document.all[name].style;
} else if (document.layers) {
this.obj = document.layers[name];
this.style = document.layers[name];
}
}
function gettrail(){
return new getObj("trailimageid");
}
function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function showtrail(imagename,title,oriwidth,oriheight,zoomimgwidth,zoomimgheight, image, startx, starty, startw, starth){
zoomimg_w=zoomimgwidth;
zoomimg_h=zoomimgheight;
//if (oriwidth > 0){ offsetfrommouse[0] = oriwidth; }
//if (oriheight > 0){ offsetfrommouse[1] = -1 *(zoomimgheight-oriheight)/2 - 40; }
// alert (offsetfrommouse[0] + "," + offsetfrommouse[1]);
if (zoomimgheight > 0){ currentimageheight = zoomimgheight; }
trailobj = gettrail().obj;
trailobj.style.width=(zoomimgwidth+(2*padding))+"px";
trailobj.style.height=(zoomimgheight+(2*padding))+"px";
trailobj.setAttribute("startx", startx);
trailobj.setAttribute("starty", starty);
trailobj.setAttribute("startw", startw);
trailobj.setAttribute("starth", starth);
trailobj.setAttribute("imagename", imagename);
trailobj.setAttribute("imgtitle", title);
document.onmousemove=followmouse;
}
function hidetrail(){
trailstyle = gettrail().style;
trailstyle.visibility = "hidden";
document.onmousemove = "";
trailstyle.left = "-2000px";
trailstyle.top = "-2000px";
}
function followmouse(e){
var xcoord=offsetfrommouse[0];
var ycoord=offsetfrommouse[1];
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15;
var docheight=document.all? Math.min(truebody().scrollHeight, truebody().clientHeight) : Math.min(window.innerHeight);
//if (document.all){
// trail.obj.innerHTML = 'A = ' + truebody().scrollHeight + '<br>B = ' + truebody().clientHeight;
//} else {
// trail.obj.innerHTML = 'C = ' + document.body.offsetHeight + '<br>D = ' + window.innerHeight;
//}
var relativeX = null;
var relativeY = null;
if (typeof e != "undefined"){
if ((typeof e.layerX != "undefined") && (typeof e.layerY != "undefined")) {
relativeX = e.layerX;
relativeY = e.layerY;
} else if ((typeof e.x != "undefined") && (typeof e.y != "undefined")) {
relativeX = e.x;
relativeY = e.y;
}
if (docwidth - e.pageX < zoomimg_w + (3 * padding)) {
xcoord = e.pageX - xcoord - zoomimg_w - (2 * offsetfrommouse[0]);
} else {
xcoord += e.pageX;
}
if (docheight - e.pageY < zoomimg_h + (2 * padding)){
ycoord += e.pageY - Math.max(0,(0 + zoomimg_h + (5 * padding) + e.pageY - docheight - truebody().scrollTop));
} else {
ycoord += e.pageY;
}
} else if (typeof window.event != "undefined"){
if ((typeof event.x != "undefined") && (typeof event.y != "undefined")) {
relativeX = event.x;
relativeY = event.y;
} else if ((typeof event.offsetX != "undefined") && (event.offsetY != "undefined")) {
relativeX = event.offsetX;
relativeY = event.offsetY;
}
if (docwidth - event.clientX < zoomimg_w + (3 * padding)) {
xcoord = event.clientX - xcoord - zoomimg_w - (2 * offsetfrommouse[0]);
} else {
xcoord += truebody().scrollLeft+event.clientX;
}
if (docheight - event.clientY < zoomimg_h + (2 * padding)){
ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + event.clientY - docheight - truebody().scrollTop));
} else {
ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + event.clientY - docheight - truebody().scrollTop));
}
}
trail = gettrail();
startx = trail.obj.getAttribute("startx");
starty = trail.obj.getAttribute("starty");
startw = trail.obj.getAttribute("startw");
starth = trail.obj.getAttribute("starth");
imagename = trail.obj.getAttribute("imagename");
title = trail.obj.getAttribute("imgtitle");
// calculate and set position BEFORE switching to visible
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15;
var docheight=document.all? Math.max(truebody().scrollHeight, truebody().clientHeight) : Math.max(document.body.offsetHeight, window.innerHeight);
if(ycoord < 0) { ycoord = ycoord*-1; }
if ((trail.style.left == "-2000px") || (trail.style.left == "")) { trail.style.left=xcoord+"px"; }
if ((trail.style.top == "-2000px") || (trail.style.top == "")) { trail.style.top=ycoord+"px"; }
trail.style.left=xcoord+"px";
trail.style.top=ycoord+"px";
// alert (trail.style.left+","+trail.style.top);
if (trail.style.visibility != "visible") {
if (((relativeX == null) || (relativeY == null)) ||
((relativeX >= startx) && (relativeX <= (startx + startw))
&& (relativeY >= starty) && (relativeY <= (starty + starth)))){
newHTML = '<div><h1>' + title + '</h1>';
newHTML = newHTML + '<img src="' + imagename + '"></div>';
trail.obj.innerHTML = newHTML;
trail.style.visibility="visible";
}
}
}
The only other guess I could make is that because I changed the header size I needed to adjust the padding elsewhere... I think in the CSS... that was a while ago. Not sure if it would be relevant.
Thanks a bunch,
-
Re: Image Handler 2 Support
All fixed you changed the wrong lines
Here is what its supposed to look like
Code:
/*
Simple Image Trail script- By JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
This notice must stay intact
Modified by Tim Kroeger ([email protected]) for use with
image handler 2 and better cross browser functionality
*/
var offsetfrommouse=[10,10]; //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
var displayduration=0; //duration in seconds image should remain visible. 0 for always.
var currentimageheight = 400; // maximum image size.
var padding=10; // padding must by larger than specified div padding in stylessheet
// Global variables for sizes of hoverimg
// Defined in "showtrail()", used in "followmouse()"
var zoomimg_w=0;
var zoomimg_h=0;
if (document.getElementById || document.all){
document.write('<div id="trailimageid">');
document.write('</div>');
}
function getObj(name) {
if (document.getElementById) {
this.obj = document.getElementById(name);
this.style = document.getElementById(name).style;
} else if (document.all) {
this.obj = document.all[name];
this.style = document.all[name].style;
} else if (document.layers) {
this.obj = document.layers[name];
this.style = document.layers[name];
}
}
function gettrail(){
return new getObj("trailimageid");
}
function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function showtrail(imagename,title,oriwidth,oriheight,zoomimgwidth,zoomimgheight, image, startx, starty, startw, starth){
zoomimg_w=zoomimgwidth;
zoomimg_h=zoomimgheight;
//if (oriwidth > 0){ offsetfrommouse[0] = oriwidth; }
//if (oriheight > 0){ offsetfrommouse[1] = -1 *(zoomimgheight-oriheight)/2 - 40; }
// alert (offsetfrommouse[0] + "," + offsetfrommouse[1]);
if (zoomimgheight > 0){ currentimageheight = zoomimgheight; }
trailobj = gettrail().obj;
trailobj.style.width=(zoomimgwidth+(2*padding))+"px";
trailobj.style.height=(zoomimgheight+(2*padding))+"px";
trailobj.setAttribute("startx", startx);
trailobj.setAttribute("starty", starty);
trailobj.setAttribute("startw", startw);
trailobj.setAttribute("starth", starth);
trailobj.setAttribute("imagename", imagename);
trailobj.setAttribute("imgtitle", title);
document.onmousemove=followmouse;
}
function hidetrail(){
trailstyle = gettrail().style;
trailstyle.visibility = "hidden";
document.onmousemove = "";
trailstyle.left = "-2000px";
trailstyle.top = "-2000px";
}
function followmouse(e){
var xcoord=offsetfrommouse[0];
var ycoord=offsetfrommouse[1];
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15;
var docheight=document.all? Math.min(truebody().scrollHeight, truebody().clientHeight) : Math.min(window.innerHeight);
//if (document.all){
// trail.obj.innerHTML = 'A = ' + truebody().scrollHeight + '<br>B = ' + truebody().clientHeight;
//} else {
// trail.obj.innerHTML = 'C = ' + document.body.offsetHeight + '<br>D = ' + window.innerHeight;
//}
var relativeX = null;
var relativeY = null;
if (typeof e != "undefined"){
if ((typeof e.layerX != "undefined") && (typeof e.layerY != "undefined")) {
relativeX = e.layerX;
relativeY = e.layerY;
} else if ((typeof e.x != "undefined") && (typeof e.y != "undefined")) {
relativeX = e.x;
relativeY = e.y;
}
if (docwidth - e.pageX < zoomimg_w + (3 * padding)) {
xcoord = e.pageX - xcoord - zoomimg_w - (2 * offsetfrommouse[0]);
} else {
xcoord += e.pageX;
}
if (docheight - e.pageY < zoomimg_h + (2 * padding)){
ycoord += e.pageY - Math.max(0,(0 + zoomimg_h + (5 * padding) + e.pageY - docheight - truebody().scrollTop));
} else {
ycoord += e.pageY;
}
} else if (typeof window.event != "undefined"){
if ((typeof event.x != "undefined") && (typeof event.y != "undefined")) {
relativeX = event.x;
relativeY = event.y;
} else if ((typeof event.offsetX != "undefined") && (event.offsetY != "undefined")) {
relativeX = event.offsetX;
relativeY = event.offsetY;
}
if (docwidth - event.clientX < zoomimg_w + (3 * padding)) {
xcoord = event.clientX - xcoord - zoomimg_w - (2 * offsetfrommouse[0]);
} else {
xcoord += truebody().scrollLeft+event.clientX;
}
if (docheight - event.clientY < zoomimg_h + (2 * padding)){
ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + event.clientY - docheight - truebody().scrollTop));
} else {
ycoord += truebody().scrollTop + event.clientY;
}
}
trail = gettrail();
startx = trail.obj.getAttribute("startx");
starty = trail.obj.getAttribute("starty");
startw = trail.obj.getAttribute("startw");
starth = trail.obj.getAttribute("starth");
imagename = trail.obj.getAttribute("imagename");
title = trail.obj.getAttribute("imgtitle");
// calculate and set position BEFORE switching to visible
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15;
var docheight=document.all? Math.max(truebody().scrollHeight, truebody().clientHeight) : Math.max(document.body.offsetHeight, window.innerHeight);
if(ycoord < 0) { ycoord = ycoord*-1; }
if ((trail.style.left == "-2000px") || (trail.style.left == "")) { trail.style.left=xcoord+"px"; }
if ((trail.style.top == "-2000px") || (trail.style.top == "")) { trail.style.top=ycoord+"px"; }
trail.style.left=xcoord+"px";
trail.style.top=ycoord+"px";
// alert (trail.style.left+","+trail.style.top);
if (trail.style.visibility != "visible") {
if (((relativeX == null) || (relativeY == null)) ||
((relativeX >= startx) && (relativeX <= (startx + startw))
&& (relativeY >= starty) && (relativeY <= (starty + starth)))){
newHTML = '<div><h1>' + title + '</h1>';
newHTML = newHTML + '<img src="' + imagename + '"></div>';
trail.obj.innerHTML = newHTML;
trail.style.visibility="visible";
}
}
}
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
Merlinpa1969
All fixed you changed the wrong lines
Here is what its supposed to look like
Code:
/*
Simple Image Trail script- By JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
This notice must stay intact
Modified by Tim Kroeger ([email protected]) for use with
image handler 2 and better cross browser functionality
*/
var offsetfrommouse=[10,10]; //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
var displayduration=0; //duration in seconds image should remain visible. 0 for always.
var currentimageheight = 400; // maximum image size.
var padding=10; // padding must by larger than specified div padding in stylessheet
// Global variables for sizes of hoverimg
// Defined in "showtrail()", used in "followmouse()"
var zoomimg_w=0;
var zoomimg_h=0;
if (document.getElementById || document.all){
document.write('<div id="trailimageid">');
document.write('</div>');
}
function getObj(name) {
if (document.getElementById) {
this.obj = document.getElementById(name);
this.style = document.getElementById(name).style;
} else if (document.all) {
this.obj = document.all[name];
this.style = document.all[name].style;
} else if (document.layers) {
this.obj = document.layers[name];
this.style = document.layers[name];
}
}
function gettrail(){
return new getObj("trailimageid");
}
function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function showtrail(imagename,title,oriwidth,oriheight,zoomimgwidth,zoomimgheight, image, startx, starty, startw, starth){
zoomimg_w=zoomimgwidth;
zoomimg_h=zoomimgheight;
//if (oriwidth > 0){ offsetfrommouse[0] = oriwidth; }
//if (oriheight > 0){ offsetfrommouse[1] = -1 *(zoomimgheight-oriheight)/2 - 40; }
// alert (offsetfrommouse[0] + "," + offsetfrommouse[1]);
if (zoomimgheight > 0){ currentimageheight = zoomimgheight; }
trailobj = gettrail().obj;
trailobj.style.width=(zoomimgwidth+(2*padding))+"px";
trailobj.style.height=(zoomimgheight+(2*padding))+"px";
trailobj.setAttribute("startx", startx);
trailobj.setAttribute("starty", starty);
trailobj.setAttribute("startw", startw);
trailobj.setAttribute("starth", starth);
trailobj.setAttribute("imagename", imagename);
trailobj.setAttribute("imgtitle", title);
document.onmousemove=followmouse;
}
function hidetrail(){
trailstyle = gettrail().style;
trailstyle.visibility = "hidden";
document.onmousemove = "";
trailstyle.left = "-2000px";
trailstyle.top = "-2000px";
}
function followmouse(e){
var xcoord=offsetfrommouse[0];
var ycoord=offsetfrommouse[1];
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15;
var docheight=document.all? Math.min(truebody().scrollHeight, truebody().clientHeight) : Math.min(window.innerHeight);
//if (document.all){
// trail.obj.innerHTML = 'A = ' + truebody().scrollHeight + '<br>B = ' + truebody().clientHeight;
//} else {
// trail.obj.innerHTML = 'C = ' + document.body.offsetHeight + '<br>D = ' + window.innerHeight;
//}
var relativeX = null;
var relativeY = null;
if (typeof e != "undefined"){
if ((typeof e.layerX != "undefined") && (typeof e.layerY != "undefined")) {
relativeX = e.layerX;
relativeY = e.layerY;
} else if ((typeof e.x != "undefined") && (typeof e.y != "undefined")) {
relativeX = e.x;
relativeY = e.y;
}
if (docwidth - e.pageX < zoomimg_w + (3 * padding)) {
xcoord = e.pageX - xcoord - zoomimg_w - (2 * offsetfrommouse[0]);
} else {
xcoord += e.pageX;
}
if (docheight - e.pageY < zoomimg_h + (2 * padding)){
ycoord += e.pageY - Math.max(0,(0 + zoomimg_h + (5 * padding) + e.pageY - docheight - truebody().scrollTop));
} else {
ycoord += e.pageY;
}
} else if (typeof window.event != "undefined"){
if ((typeof event.x != "undefined") && (typeof event.y != "undefined")) {
relativeX = event.x;
relativeY = event.y;
} else if ((typeof event.offsetX != "undefined") && (event.offsetY != "undefined")) {
relativeX = event.offsetX;
relativeY = event.offsetY;
}
if (docwidth - event.clientX < zoomimg_w + (3 * padding)) {
xcoord = event.clientX - xcoord - zoomimg_w - (2 * offsetfrommouse[0]);
} else {
xcoord += truebody().scrollLeft+event.clientX;
}
if (docheight - event.clientY < zoomimg_h + (2 * padding)){
ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + event.clientY - docheight - truebody().scrollTop));
} else {
ycoord += truebody().scrollTop + event.clientY;
}
}
trail = gettrail();
startx = trail.obj.getAttribute("startx");
starty = trail.obj.getAttribute("starty");
startw = trail.obj.getAttribute("startw");
starth = trail.obj.getAttribute("starth");
imagename = trail.obj.getAttribute("imagename");
title = trail.obj.getAttribute("imgtitle");
// calculate and set position BEFORE switching to visible
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15;
var docheight=document.all? Math.max(truebody().scrollHeight, truebody().clientHeight) : Math.max(document.body.offsetHeight, window.innerHeight);
if(ycoord < 0) { ycoord = ycoord*-1; }
if ((trail.style.left == "-2000px") || (trail.style.left == "")) { trail.style.left=xcoord+"px"; }
if ((trail.style.top == "-2000px") || (trail.style.top == "")) { trail.style.top=ycoord+"px"; }
trail.style.left=xcoord+"px";
trail.style.top=ycoord+"px";
// alert (trail.style.left+","+trail.style.top);
if (trail.style.visibility != "visible") {
if (((relativeX == null) || (relativeY == null)) ||
((relativeX >= startx) && (relativeX <= (startx + startw))
&& (relativeY >= starty) && (relativeY <= (starty + starth)))){
newHTML = '<div><h1>' + title + '</h1>';
newHTML = newHTML + '<img src="' + imagename + '"></div>';
trail.obj.innerHTML = newHTML;
trail.style.visibility="visible";
}
}
}
Thanks so much Merlin, and guess what? I found this other change and applied it before reading your suggestion:
Re: Image Handler 2 Support
--------------------------------------------------------------------------------
Hi
I may have found a fix for the bad behaviour of ie6 by pushing the zoom image too high nearly off the page, when clicking on images at the bottom end of a lot of picture product listings.
Its a simple mod to the ih2 jscript file...
http://forums.breakmyzencart.com/t10...om-images.html
I remember the odd post here a while back, similarly complaining the zoom window goes too high sometimes
##############################___
1.3.7 at last... on my hareslade site http://www.hareslade.com/zc/index.php
Here is another link to it: http://forums.breakmyzencart.com/t10...om-images.html
And to make triple sure that this fix, plus the one Merlin just put up is captured in one spot, here is the actual fix I applied:
Code:
/* event.clientY is not valid in firefox netscape or opera, but ie has to use it */
var ie_offset = -20;
if ( docheight - event.clientY < zoomimg_h + (2 * padding) ){
//ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) - (docheight + truebody().scrollTop -event.clientY) ) );
ycoord += ie_offset + truebody().scrollTop + event.clientY - Math.max(0,(0 + zoomimg_h + (2 * padding) - (docheight - event.clientY) ) );
} else {
ycoord += ie_offset + truebody().scrollTop + event.clientY;
So, I am going to try the one that Merlin posted for me as well, but this the problem is officially fixed for me.
Thanks for all the help everyone, and especially to Merlin and Hareslade.
Oh, and off topic: I am soooo glad I switched my server from Powweb to Camelot The speed blows away the glacial site that I had before, and the service is excellent.
Todd
-
Re: Image Handler 2 Support [ Layout issue ]
Hello gurus, masters, developers...
I am using Red Passion template, IH2, Lightbox.
I have a problem with product listing.
Let me show you the screenshots rather than trying to explain with my rough english... show mercy please
1. Nice gap between products when Image Handler resizing is disabled:
http://www.jhses.com/images/IH2_disabled.png
2. Image Handled resizing enabled. No gap and gets ugly when certain images are fused/joined together:
http://www.jhses.com/images/with_IH2.png
You may disregard first test item's cell because it is extended by the large "Free Shipping" image.
How can this be avoided? Even if the cell size has to be hard coded as I do not intend to swith template.
Please note CSS and PHP are not among the languages I understand, however I am OK with basic HTML and can do some light modifications if any suggested.
Is it actually IH2 or it is template issue?
Thank you.
-
Re: Image Handler 2 Support
Hi,
Me again...
One more thing.
How can sharpening of resized (small size for products listing) images be controlled (increased)?
I need to get them a little more crispy.
My host supports GD2.
Thank you
-
Re: Image Handler 2 Support
If anyone has an idea... my client SWEARS... she needs the title removed from above the Image Zoom Rollover... she wants it to only be the picture...
I am assuming it is in the jscript_imagehover.js
but i'm terrible with javascript. every time i try to remove something to see if its the title. i break the rollover....
can anyone share some advice? I'd really appreciate it.
Thanks.
-
Re: Image Handler 2 Support
Hi,
I solved my first problem with the gap. It was very simple though in the wrong place asked. not much related to IH, rather to the template.
Necessity is the mother of invention and the best teacher :bigups:
Just to share if someone needs an answer for the same question:
in the file /includes/templates/template_default/common/tpl_tabular_display.php changed cellpadding="0" to "8" in the very first <table> tag :)
Just one char and so much efforts. Imagine the knowledge and the time spent by the developer team and all the contributors :smartalec: :bigups:
They do deserve the appreciation.
Still ... any ideas how to control the sharpening? I don't think I could deal with this - so many things to consider and so deep to dig...
If accidentially find out how I will update you.
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
jhs
Hi,
I solved my first problem with the gap. It was very simple though in the wrong place asked. not much related to IH, rather to the template.
Necessity is the mother of invention and the best teacher :bigups:
Just to share if someone needs an answer for the same question:
in the file /includes/templates/template_default/common/tpl_tabular_display.php changed cellpadding="0" to "8" in the very first <table> tag :)
Just one char and so much efforts. Imagine the knowledge and the time spent by the developer team and all the contributors :smartalec: :bigups:
They do deserve the appreciation.
Still ... any ideas how to control the sharpening? I don't think I could deal with this - so many things to consider and so deep to dig...
If accidentially find out how I will update you.
You can adjust the padding via the style sheet without touching the tpl_tabular_display.php file.
In your style sheet, find .productListing-odd td, .productListing-even td
Here is what mine looks like.
Code:
.productListing-odd td, .productListing-even td (line 684)
{
vertical-align: top;
padding-top: 0.5em;
padding-right: 0.5em;
padding-bottom: 0.5em;
padding-left: 0.5em;
margin-bottom: 1em;
border-bottom-width: 2px;
border-bottom-style: double;
border-bottom-color: #04d518;
border-top-width: 2px;
border-top-style: double;
border-top-color: #04d518;}
For compression quality --> Admin --> Configuration --> Images and look for IH Image Compression Quality. There is a setting for each size, small, medium and large.
M
-
Re: Image Handler 2 Support
Thank you tophand,
The CSS way is much more convenient and gives more flexibility.
Thanks for the idea, I even didn' know it could be there...
As of the Compression Quality - yes, already set up to 100 but the resized images are kind of soft, lacking sharpness which is important eye caching visual effect though I know oversharpening screws up the look.
So I am still in hunt for the sharpenning option in IH2 code calls to GD library.
Thanks
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
jhs
Hi,
I solved my first problem with the gap. It was very simple though in the wrong place asked. not much related to IH, rather to the template.
Necessity is the mother of invention and the best teacher :bigups:
Just to share if someone needs an answer for the same question:
in the file /includes/templates/template_default/common/tpl_tabular_display.php changed cellpadding="0" to "8" in the very first <table> tag :)
Just one char and so much efforts. Imagine the knowledge and the time spent by the developer team and all the contributors :smartalec: :bigups:
They do deserve the appreciation.
Still ... any ideas how to control the sharpening? I don't think I could deal with this - so many things to consider and so deep to dig...
If accidentially find out how I will update you.
Thank you JHS, I had this problem as well, and hadn't even begun to go looking for it. Thanks to your work I don't need to!
I Love Zen Forums!
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
ben_golant
For anyone who encounters the issues I reported - page jumping up and down and the wrong larger image being displayed when you add multiple images to a product - this is caused when you use - as you always should - your own custom template.
You need to copy from the Image Handler 2 /includes/templates/template_default/css folder : the css, jscript and popup_image_additional folders to your custom template.
This is just the answer I need.. Thanks a lot
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
I know, this thread has 174 pages but if you spent time you would have found most if not all the answers to your questions.
But I feeling in a helpful mood so... :D
Newest IH -->
Version: 2.0 v0916 in the Zen Cart downloads <---click
If you check it out, you see it does not even have html_output.php.
It's stated right on the page.
Also works very well with ZC1.3.7
One of the reasons to use IH is..
* Improved site performance (faster loading, faster display).
Ok, some people have trouble because they are uploading very large image files (2+MB) and if it is not IH that chokes but could be either GD libraries or ImageMagick that chokes. Work around is to upload the largest file you want displayed (large file to display is 450x450, so that is the size uploaded).
Also loading up a page with a lot of images will slow down response time no matter if you use IH or not.
And you last question --> no.
Hoover only works on small images.
M
Hello Tophand,
Thank you for your helpul mood. The go live of IH has been a success.
So I suggest to avoid to have to reply to stupid guy like me not courageous enough to read 198765 posts to modify the text of the mod : thi is the very last version of of IH. Instaled succesfuly by cdelab on ZC V1.3.7 with support of Tophand ;-)
Thank you.
-
Re: Image Handler 2 Support
Hi,
I've just installed Image Handler2, works great appart from on 2 pages :
- All products page
- Product info page
I've tried the following for the product info page, but it doesn't work.
<?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMA GE)); ?>
<?php echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '">' . zen_image($products_image_medium, $products_image, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>';?>
Could someone help me please.
cheers
baz:(
-
Re: Image Handler 2 Support
Sorry, if may be a dumb question, but I am not sure what to do with the ´shopad´folder, do I have to install it too or is it optional?
What is it for anyway?
Thanks a lot.
regards,
kruna
-
Re: Image Handler 2 Support
Quote:
Originally Posted by RedrikShuhart
I have found a solution that makes both features, image hover and scrolling sidebox, work perfectly fine in IE6.
1. First of all, you keep the 'style="position:relative"' in includes/classes/bmz_image_handler.class.php intact.
2. Add style="position:relative" to the marquee tag in includes/templates/YOUR_TEMPLATE/sideboxes/tpl_whats_new.php .
So you will have something like $content .= '<MARQUEE style="position:relative" behavior= " ....
3. Add the following block to your stylesheet :
#whatsnewContent{
height: 150px;
overflow: hidden;
position: relative;
}
The block name, whatsnewContent, has to match the id name of the div that's holding the content of the sidebox.
Thats it. Have fun :)
Image Handler 2 Conflict with Scrolling side box
-------------------------------------------------------------------------------
I found this post I quoted and tried to make it work for me but could not get it to work. Right now I removed the scrolling side box.
Image Handler 2 Conflict with Scrolling side box
I've tried all of this, taking out the style, and adding the $content .=' <Marquee style= position:relative" behavior= " I'm not a php programer so I do know what goes next and all I get is a parse error. when I just take out the style it still don't work.
when I take out this: return $parameters . 'style="position:relative"
I get a parse error. I take out this: return $parameters . 'style="position:relative"onmouseover="showtrail
I still get a parse error.
If I take this all out the box still don't work.
return $parameters . 'style="position:relative"onmouseover="showtrail (' . "'$products_image_zoom','$alt',$width,$height,$zoo mwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
Could someone please help.
weezees gifts DOT com
-
Re: Image Handler 2 Support
Just wondering if anyone else has any idea how to remove the product name text at the top of the image rollovers...
i know its a ridiculous request. and i still have no idea why my client refuses to have them.
but if anyone knows...
i'm sure its hidden in the javascript, but all i can seem to do is break it.
anyway, thanks in advance...
-
Re: Image Handler 2 Support
Image Upload Problems:
Having problems with IH on the following setup:
ZC 1.3.7
PHP Version: 4.3.10
MySQL 3.23.56
Apache/1.3.29 (Unix)
The owner says that he's following the same procedure for adding pics as he's done before with no problems, but now gets:
Warning: move_uploaded_file(): Unable to move '/tmp/phpYTAJLU' to '/home/saltire001/public_html/images/jersey101x120.JPG' in /home/saltire001/public_html/6378bs-wid83b-2jxb/includes/classes/upload.php on line 112
when trying to upload a product image. Permissions on the images folder have been changed to 777 to see if that helped, but to no avail.
We're also getting errors on the front end http://www.saltirecycles.co.uk/, for example:
Warning: imagejpeg(): Unable to open '/home/saltire001/public_html/bmz_cache/c/c4c20471f06189e1feea4b35e9e2a645.image.150x112.jpg' for writing in /home/saltire001/public_html/includes/classes/bmz_image_handler.class.php on line 652
A look in the bmz-cache folder finds that some of the sub-folders, like /c/ in the above example, do not exist. They had cleared the image cache in IH2 Admin to see if that would help - would that remove these sub-folders?
Any help on these issues is appreciated.
Thanks,
Andrew
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
pensive612
Just wondering if anyone else has any idea how to remove the product name text at the top of the image rollovers...
i know its a ridiculous request. and i still have no idea why my client refuses to have them.
but if anyone knows...
i'm sure its hidden in the javascript, but all i can seem to do is break it.
anyway, thanks in advance...
Remember that a lot of things can be controlled in the style sheet.
In this case look at style_imagehover.css
While you can't remove the text, you can hide it.
Can change the font color to match the back ground or what I did was change the font size.
Code:
font-size: 100%;
to
font-size: 0%;
Mark
-
Re: Image Handler 2 Support
Quote:
Originally Posted by
webworkshop
Image Upload Problems:
Having problems with IH on the following setup:
ZC 1.3.7
PHP Version: 4.3.10
MySQL 3.23.56
Apache/1.3.29 (Unix)
The owner says that he's following the same procedure for adding pics as he's done before with no problems, but now gets:
Warning: move_uploaded_file(): Unable to move '/tmp/phpYTAJLU' to '/home/saltire001/public_html/images/jersey101x120.JPG' in /home/saltire001/public_html/6378bs-wid83b-2jxb/includes/classes/upload.php on line 112
when trying to upload a product image. Permissions on the images folder have been changed to 777 to see if that helped, but to no avail.
We're also getting errors on the front end
http://www.saltirecycles.co.uk/, for example:
Warning: imagejpeg(): Unable to open '/home/saltire001/public_html/bmz_cache/c/c4c20471f06189e1feea4b35e9e2a645.image.150x112.jpg' for writing in /home/saltire001/public_html/includes/classes/bmz_image_handler.class.php on line 652
A look in the bmz-cache folder finds that some of the sub-folders, like /c/ in the above example, do not exist. They had cleared the image cache in IH2 Admin to see if that would help - would that remove these sub-folders?
Any help on these issues is appreciated.
Thanks,
Andrew
There are really large image files. One thumbnail image = 500kb.
Some of the pop-ups open bigger then my screen.
Have you check to see if there is server space left?
M
-
Re: Image Handler 2 Support
help i got this error
Warning: imagepng(): SAFE MODE Restriction in effect. The script whose uid is 10099 is not allowed to access /var/www/vhosts/mysarisarishop.com/httpdocs/bmz_cache/6 owned by uid 33 in /var/www/vhosts/mysarisarishop.com/httpdocs/includes/classes/bmz_image_handler.class.php on line 646
could anyone help me plsss.