Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 2 (for ZC v1.3.8 ONLY) Support

Image Handler 2 (for ZC v1.3.8 ONLY) Support

Views: 2,510,586

Results 5,221 to 5,240 of 7,094
7 Jun 2010, 5:52 AM
#5221
kwright avatar

kwright

Zen Follower

Join Date:
Nov 2004
Posts:
355
Plugin Contributions:
0

Image Handler 2 (for ZC v1.3.8 ONLY) Support

nigelt74:

I have a hack that allows it to work, but you need two seperate javascript files, try reading from post 5181, in this thread

Thanks nigelt74,

I looked at your site from post #5181. The hover images do seem to track the thumbnails better, but seems to dip off the bottom of the page for those images that are at the bottom edge. This seems to be the case in FF & chrome. Didn't check in IE or Safari...

Are the 2 separate javascript files you referred to the ones in the IE7 If statement? :lookaroun

7 Jun 2010, 1:45 PM
#5222
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

since upgradeing to 1.3.9d IH2 doesn't display the additional images for a product.

7 Jun 2010, 7:40 PM
#5223
rdenham avatar

rdenham

New Zenner

Join Date:
Jan 2008
Posts:
19
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Help

My cache folder keeps filing up with myDEBUG-.log files with only this in them.

[07-Jun-2010 20:22:31] PHP Warning: strstr() [<a href='function.strstr'>function.strstr</a>]: Empty delimiter. in /var/www/html/store/includes/classes/bmz_image_handler.class.php on line 128

Got to the point where i have run out of sapce.

From what i can tell every looks to be working.

Any one got any ideas?

8 Jun 2010, 9:11 AM
#5224
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

i have the foillowing in my debug

[08-Jun-2010 08:54:28] PHP Warning: imagecolorsforindex() [<a href='function.imagecolorsforindex'>function.imagecolorsforindex</a>]: Color index -2147483648 out of range in /home/public_html/store/includes/classes/bmz_image_handler.class.php on line 433

8 Jun 2010, 11:38 AM
#5225
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

right well... i now have a new error... i tryed on a different item and this time the addional image is shown... how ever this image is not just applied to this item its applied all all simular items as well!! it all the items in the catogory.

9 Jun 2010, 9:28 PM
#5226
jenbullfrog avatar

jenbullfrog

Zen Follower

Join Date:
Oct 2005
Location:
Helena, MT
Posts:
110
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

nigelt74:

I have got it working correctly in Safari, Chrome, Opera and Firefox, unfortunately it breaks in IE, and owing to time pressure and lack of javascript knowledge I can't figure out the problem, although i am seriously thinking of putting a conditional statement in for IE so it uses the current code and the other browsers use the modified code

Have a look here and see if this works in your Safari

http://nigel.geek.nz/sbo_shop/index.php?main_page=index&cPath=823_527_213

I have a feeling the IE fault should be simple to fix, but i can't get my head around it

image popup not workin in chrome if you scroll down the page, the popup appears partially or off page completely

anyone have a fix for this?

11 Jun 2010, 4:52 AM
#5227
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

jenbullfrog:

image popup not workin in chrome if you scroll down the page, the popup appears partially or off page completely

anyone have a fix for this?
Meh not a big issue compared with the original problem of them not appearing below the page fold, surely your customers would have the nous to scroll down the page

Meh not a big issue compared with the original problem of them not appearing below the page fold, surely your customers would have the nous to scroll down the page

If it is a problem you could try this one

http://nigel.geek.nz/sbo_shop/noodle2.php

The popup won't go off the page, infact it stays at the bottom of the page and doesn't track the mouse for the webkit browsers, and doesn't work at all in opera (which is why i haven't spent much time on it)

The benefit of this latest script is you can just paste the contents over top of the existing jscript file with no other additions

11 Jun 2010, 6:25 AM
#5228
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

nigelt74:

Meh not a big issue compared with the original problem of them not appearing below the page fold, surely your customers would have the nous to scroll down the page

Meh not a big issue compared with the original problem of them not appearing below the page fold, surely your customers would have the nous to scroll down the page

If it is a problem you could try this one

http://nigel.geek.nz/sbo_shop/noodle2.php

The popup won't go off the page, infact it stays at the bottom of the page and doesn't track the mouse for the webkit browsers, and doesn't work at all in opera (which is why i haven't spent much time on it)

The benefit of this latest script is you can just paste the contents over top of the existing jscript file with no other additions

Hey nigelt74, That looks impressive! where do you have that script, In the addon section?

11 Jun 2010, 8:08 AM
#5229
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

alhakeem2001:

Hey nigelt74, That looks impressive! where do you have that script, In the addon section?

umm no, I might think about it, but its a functional rather than elegant script, and i think the addon people would die laughing if I tried submitting it

It's better than the existing script for image Handler when it comes to webkit browsers, but it doesn't do Opera(neither does the original though) and thats what I am trying to get to work.

If you want to use it, honestly just paste the contents of the javascript file over the top of yout existing Js, the reason i made this script was that it could just drop in over the existing js, unfortunately all my work was aimed at getting opera compatibility, the webkit stuff was a side effect.

I will put a blog post up tomorrow if anyones interested, basically it is finished as far as i am concerned.

11 Jun 2010, 2:19 PM
#5230
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

nigelt74:

umm no, I might think about it, but its a functional rather than elegant script, and i think the addon people would die laughing if I tried submitting it

It's better than the existing script for image Handler when it comes to webkit browsers, but it doesn't do Opera(neither does the original though) and thats what I am trying to get to work.

If you want to use it, honestly just paste the contents of the javascript file over the top of yout existing Js, the reason i made this script was that it could just drop in over the existing js, unfortunately all my work was aimed at getting opera compatibility, the webkit stuff was a side effect.

I will put a blog post up tomorrow if anyones interested, basically it is finished as far as i am concerned.I'll add links to your work to the next IH2 release, but it won't be adding it to the next IH2 release. However for the sake of those who are interested in Nigel's work I think it is a good idea to include links to his work and blogs in the IH2 readme..

11 Jun 2010, 5:55 PM
#5231
jenbullfrog avatar

jenbullfrog

Zen Follower

Join Date:
Oct 2005
Location:
Helena, MT
Posts:
110
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

nigelt74:

http://nigel.geek.nz/sbo_shop/noodle2.php

The popup won't go off the page, infact it stays at the bottom of the page and doesn't track the mouse for the webkit browsers, and doesn't work at all in opera (which is why i haven't spent much time on it)

The benefit of this latest script is you can just paste the contents over top of the existing jscript file with no other additions

Thank you works great! Just what I was looking for!

11 Jun 2010, 9:09 PM
#5232
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DivaVocals:

I'll add links to your work to the next IH2 release, but it won't be adding it to the next IH2 release. However for the sake of those who are interested in Nigel's work I think it is a good idea to include links to his work and blogs in the IH2 readme..
Cheers i'm flattered,

jenbullfrog:

Thank you works great! Just what I was looking for!

There is an improved version here, where the webkit support is better, but don't copy it as it is full of debugging code

http://nigel.geek.nz/sbo_shop/noodle3-opera.php

The webkit improvements were yet again a side effect as I spent ages trying to get Opera working, to no avail, but I think i may be close to cracking it

11 Jun 2010, 9:28 PM
#5233
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

kitcorsa:

right well... i now have a new error... i tryed on a different item and this time the addional image is shown... how ever this image is not just applied to this item its applied all all simular items as well!! it all the items in the catogory.

if you have all your images in a set folder---like just the images folder

then you need to give each image a unique name --- like if the product is agate neckace/earrings

name the image..agateneck-ear1.jpg

then if you get another of the same type call it totally different I found that if it has the same name as an existing one then it will show on all items with the image allocated to it.

i have many vendors so I went so far as to put the images into set folders with vendors/product name and that has helped totally

11 Jun 2010, 11:25 PM
#5234
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Eureka - Finally got Opera working

Jscript fix - new version 4.1

Works in Opera 10.5, IE8, FF 3.6, Chrome 5, Safari 5 - the big 5

I need people to test in older browsers,

here is the test page, don't follow any links as you will go to pages that don't use the same javascript, just scroll and hover

It is designed to be a drop in replacement for the existing jscript, although I still have to remove some debugging code and clean a few bits up, so don't use on a live site yet

and here is the link

http://nigel.geek.nz/sbo_shop/noodle4-opera.php

12 Jun 2010, 12:55 AM
#5235
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

nigelt74:

Eureka - Finally got Opera working

Jscript fix - new version 4.1

Works in Opera 10.5, IE8, FF 3.6, Chrome 5, Safari 5 - the big 5

I need people to test in older browsers,

here is the test page, don't follow any links as you will go to pages that don't use the same javascript, just scroll and hover

It is designed to be a drop in replacement for the existing jscript, although I still have to remove some debugging code and clean a few bits up, so don't use on a live site yet

and here is the link

http://nigel.geek.nz/sbo_shop/noodle4-opera.php

I have a mac that unfortunately only goes to OS 10.3.9 so I tried it in these old browsers...cause the newer ones won't work with my system..phooey...lol

Firefox 2--works

safari 1.32--works

IE 5.2--nope

opera...never used it cause it never worked in many forums and sites...could not test

12 Jun 2010, 1:23 AM
#5236
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DarkAngel:

I have a mac that unfortunately only goes to OS 10.3.9 so I tried it in these old browsers...cause the newer ones won't work with my system..phooey...lol

Firefox 2--works

safari 1.32--works

IE 5.2--nope

opera...never used it cause it never worked in many forums and sites...could not test

Cheers for that, i also have an old mac, that i was about to dig out, but you have saved me the bother,

regarding IE 5.2
did the original image handler work with it? - I am not to worried about it but my changes shouldn't have effected IE or Firefox support

Anyway I have just tested in Opera 9 and it works fine
In Opera 8.5 it works but not perfectly (at the bottom of the page the hover can go off the page, but you just scroll to see it, anyway at least it works )

IE6 seems to work as well

12 Jun 2010, 1:50 AM
#5237
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

nigelt74:

Cheers for that, i also have an old mac, that i was about to dig out, but you have saved me the bother,

regarding IE 5.2
did the original image handler work with it? - I am not to worried about it but my changes shouldn't have effected IE or Firefox support

Anyway I have just tested in Opera 9 and it works fine
In Opera 8.5 it works but not perfectly (at the bottom of the page the hover can go off the page, but you just scroll to see it, anyway at least it works )

IE6 seems to work as well

Nope, nada zilch no IH2 effects at all and when it opened the image it took a bit.

12 Jun 2010, 1:54 AM
#5238
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DarkAngel:

Nope, nada zilch no IH2 effects at all and when it opened the image it took a bit.

Cheers that means i didn't break anything, I did try to write it to avoid breaking existing support for browsers

http://tinyurl.com/23lhg9x

There is a link to the code for anyone who wants to try it on their site

12 Jun 2010, 5:27 AM
#5239
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Now you have my attention!!! :laugh::laugh:

So just so I am clear.. Is this a TRULY cross browser compatible replacement javascript for IH2 you have developed???

If so I am currently testing the next IH2 release, and once you get the script cleaned up I would like to test it with the new codebase and if all goes well include it in the new release..

nigelt74:

Eureka - Finally got Opera working

Jscript fix - new version 4.1

Works in Opera 10.5, IE8, FF 3.6, Chrome 5, Safari 5 - the big 5

I need people to test in older browsers,

here is the test page, don't follow any links as you will go to pages that don't use the same javascript, just scroll and hover

It is designed to be a drop in replacement for the existing jscript, although I still have to remove some debugging code and clean a few bits up, so don't use on a live site yet

and here is the link

http://nigel.geek.nz/sbo_shop/noodle4-opera.php

12 Jun 2010, 6:42 AM
#5240
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DivaVocals:

Now you have my attention!!! :laugh::laugh:

So just so I am clear.. Is this a TRULY cross browser compatible replacement javascript for IH2 you have developed???

Yes

It should handle all the browsers the old jscript does plus supporting webkit browser correctly (fixes page fold fault) and bringing in Opera support

It has been tested in all the modern browser (IE8, FF3.6, Safari 5, Chrome, and Opera 10.5x) and works the same, I have also tested it in

Opera 9 - works correctly
Opera 8.5 - works however, hover image may go off page when you are hovering on an image at the very bottom of the visible page (still better than no support )
IE6 - works

and dark Angel also tested some on a mac
Firefox 2--works
safari 1.32--works
IE 5.2--nope -- But original image handler hover didn't work either

I am having issues testing the browser as my ram is limited and VPC runs like treacle, but I didn't touch the code that controls IE or Firefox, (infact I deliberately worked around that)

also should say, it should just slot in, and replace the jscript file, no changes to any other files Zen or image handler are required for this version