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,668

Results 4,261 to 4,280 of 7,094
15 Sep 2009, 4:13 PM
#4261
divavocals avatar

divavocals

Totally Zenned

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

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

scottrdj:

Can this be done in image handler? This is where I seen the code and it seems that it changes the picture to a video with a click of the play button, this would be a very useful tool. link is here

http://www.djstore.com/item/kamuv80.htm

ScottShort answer is no.. Here's an IH2 overview that should help break down what IH2 does and does not do. http://breakmyzencart.com/ih-doc

15 Sep 2009, 4:29 PM
#4262
tydallen avatar

tydallen

New Zenner

Join Date:
Oct 2008
Posts:
6
Plugin Contributions:
0

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

DivaVocals:

You would need to download IH2, can compare the files in the mod to the files on your site.. You would need to look at the "Optional Extras" folder in particular..

I've read good things about Judy Gunderson. Is she not returning phone calls/e-mails??

Judy is great. Just unavailable now for some reason...
Are there any files that need to be changed to work with the custom template she made for me? Does anyone have hover working , this cant be that hard to figure out!!!

Tyler Allen
Atlanta, GA

15 Sep 2009, 7:39 PM
#4263
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

tydallen:

Judy is great. Just unavailable now for some reason...
Are there any files that need to be changed to work with the custom template she made for me? Does anyone have hover working , this cant be that hard to figure out!!!

Tyler Allen
Atlanta, GAWithout seeing the custom template she made, that may not be an easy question to answer. It would be a guess not knowing if she made materially different modifications to the standard Zen way of doing things..

Also it just occurred to me that if you look through this thread, I believe there's been some discussion on how to accomplish what you are trying to do.. Have you tried doing a thread search for "large image" or "hover"

15 Sep 2009, 8:12 PM
#4264
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

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

DivaVocals:

Without seeing the custom template she made, that may not be an easy question to answer. It would be a guess not knowing if she made materially different modifications to the standard Zen way of doing things..

Also it just occurred to me that if you look through this thread, I believe there's been some discussion on how to accomplish what you are trying to do.. Have you tried doing a thread search for "large image" or "hover"

From the IH2 readme file.

If you use a custom template, copy the contents of
includes/templates/template_custom into your custom template’s folder. If you
have modified any of the files located in this contribution's
includes/templates/template_custom folder, you need to merge these files
(popup_image_additional/tpl_main_page.php in particular) with those of your
custom template.

15 Sep 2009, 10:29 PM
#4265
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

clydejones:

From the IH2 readme file.That's what I was trying to say.. a bit awkwardly it appears..:smile:

16 Sep 2009, 8:38 AM
#4266
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

kitcorsa:

well i done a total fresh install of all the files anf folders and checked everything and all uploaded etc i have then installed the mod through abmin etc and it shows its installed etc but the site its self dont show inmage.

in admin under the oreview button on IH2 i get the following error

Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /home/northeas/public_html/includes/classes/bmz_image_handler.class.php on line 646

Warning: imagepng() [function.imagepng]: gd-png error: setjmp returns error condition in /home/northeas/public_html/includes/classes/bmz_image_handler.class.php on line 646

Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /home/northeas/public_html/includes/classes/bmz_image_handler.class.php on line 646

Warning: imagepng() [function.imagepng]: gd-png error: setjmp returns error condition in /home/northeas/public_html/includes/classes/bmz_image_handler.class.php on line 646

Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /home/northeas/public_html/includes/classes/bmz_image_handler.class.php on line 646

Warning: imagepng() [function.imagepng]: gd-png error: setjmp returns error condition in /home/northeas/public_html/includes/classes/bmz_image_handler.class.php on line 646

this is on a test site/subdomian before i put the site live! pm me and il can send a link!

anyone have anyideas why i have IH working on one site but dont on a sub domain and get this error??

16 Sep 2009, 4:52 PM
#4267
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

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

kitcorsa:

anyone have anyideas why i have IH working on one site but dont on a sub domain and get this error??
Look at the error, it is in bmz_image_handler.class.php
But don't worry.
I have just submitted a fully tested version of IH2 for approval by the Zen Cart team, it includes of course a revised version of that class.

16 Sep 2009, 5:01 PM
#4268
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

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

If anybody has an URGENT need of this version, PM me with your email.
Otherwise, the best and most ethical thing is to just wait for the Zen Cart team's approval.

16 Sep 2009, 5:11 PM
#4269
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

ckosloff:

I have just submitted a fully tested version of IH2 for approval by the Zen Cart team, it includes of course a revised version of that class.:clap: You rock!!!

17 Sep 2009, 4:32 AM
#4270
tcooptx avatar

tcooptx

New Zenner

Join Date:
Oct 2007
Posts:
6
Plugin Contributions:
0

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

ckosloff:

If anybody has an URGENT need of this version, PM me with your email.
Otherwise, the best and most ethical thing is to just wait for the Zen Cart team's approval.

Thank you for your hard work in revamping IH2. I don't need a new version though- I need to get rid of the version I had. I still can't get images on my product pages at www.bittybabyshop.com
I think I made a mistake of deleting the IH2 file from Admin drop down menu first. I tried to uninstall IH@ from my server files, but there must be some lingering files somewhere.

If you click on any image on the home page it will take you to the individual product page and there is no image there when there was one before IH2. Please help! This problem is ruining my site and my sales. I'm using zen 1.3.8 and I used IH2 v.2 Thanks so much

17 Sep 2009, 5:24 AM
#4271
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

tcooptx:

Thank you for your hard work in revamping IH2. I don't need a new version though- I need to get rid of the version I had. I still can't get images on my product pages at www.bittybabyshop.com
I think I made a mistake of deleting the IH2 file from Admin drop down menu first. I tried to uninstall IH@ from my server files, but there must be some lingering files somewhere.

If you click on any image on the home page it will take you to the individual product page and there is no image there when there was one before IH2. Please help! This problem is ruining my site and my sales. I'm using zen 1.3.8 and I used IH2 v.2 Thanks so muchHave you checked to make sure the images are actually there.. All your image errors are simple 404 errors which indicates that the images are not there
http://bittybabyshop.com/store/images/medium/pink_lrg_please_wash_MED.jpg
from this product
http://bittybabyshop.com/store/index.php?main_page=product_info&cPath=15&products_id=48

and this is true for all the products I looked at.. I don't think this is an IH issue at all.. I think it's a matter of you restoring your product image folders.. Looks like you deleted them when you deleted IH2..

17 Sep 2009, 3:06 PM
#4272
quanton81 avatar

quanton81

New Zenner

Join Date:
Jul 2009
Posts:
2
Plugin Contributions:
0

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

Hi I am using image handler 2 on my site. I am devloping an extension for my site and I am having some problems with the image caching of image handler 2. When i try to get the src of any image whith zen_image function it gave me the source of the cached image and not the original image. My question is: Is there any way of how to get to the original image or to disable image caching of Image handler 2. Thanks. :smile:

18 Sep 2009, 1:39 AM
#4273
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

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

tcooptx:

I don't need a new version though- I need to get rid of the version I had.
If you want to continue using IH2 you need the new version, instructions for upgrading or uninstalling are included.

18 Sep 2009, 3:53 AM
#4274
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

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

quanton81:

My question is: Is there any way of how to get to the original image or to disable image caching of Image handler 2
Image caching is core functionality for IH2, you cannot disable it.

18 Sep 2009, 3:01 PM
#4275
quanton81 avatar

quanton81

New Zenner

Join Date:
Jul 2009
Posts:
2
Plugin Contributions:
0

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

Ok on not removing image caching, any idea of how to obtain the original images.

18 Sep 2009, 7:09 PM
#4276
soki avatar

soki

New Zenner

Join Date:
Apr 2008
Location:
Athens
Posts:
85
Plugin Contributions:
0

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

Mr. ckosloff can you please help me.

I have "errors in page" at bottom left in Internet Explorer.

Iam getting these errors because Iam using both the Image Handler 2 and the jscroller(only the whats new sidebox) http://www.zen-cart.com/forum/showthread.php?t=118129&highlight=jscroller .

I tried those in jscript_scroller.php in includes/templates/template_default/jscript
From this:

<script type="text/javascript" src="includes/js/jscroller2-1.5.js"></script>

To this, as you suggest

<script type="text/javascript" src="includes/js/jscroller2-1.5.js"><!--
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('k={1Y:{2f:"25 1X",1O:1.5,24:"22 1W (1U://1N.1J)",2d:"2c 27 26"},m:[],t:{19:17,1z:1V,z:\'1S\',Z:0,1d:0},1r:D(){v a=29.1D(\'1C\'),i;M(i=0;i<a.F;i++){v b=a[i].V.S(\' \'),q=18;l(k.C(b,k.t.z+\'B\')){q=\'B\'}E l(k.C(b,k.t.z+\'T\')){q=\'T\'}E l(k.C(b,k.t.z+\'r\')){q=\'r\'}E l(k.C(b,k.t.z+\'Q\')){q=\'Q\'}l(q){k.1w(a[i],q)}}l(!k.19){l(k.m.F>0){k.Y();l(k.t.Z){M(i=0;i<k.m.F;i++){l(k.m[i][11]>0){K.1L("k.Z("+k.m[i][11]+",0)",k.m[i][11])}}}l(k.t.1d===0){k.N(K,\'1K\',k.1f);k.N(K,\'1I\',k.Y);k.N(K,\'1H\',k.Y);k.N(K,\'1G\',k.Y)}}}},1w:D(a,b){v i,1c=17;l(a&&b){l(k.m.F>0){M(i=0;i<k.m.F;i++){l(k.m[i][2]===a){k.m[i][8]=b;1c=1F}}}}E{1c=1F}l(!1c){v c=0,p=1,U=0,x=0,X=0,o=a,O=o.V.S(\' \'),y=a.1m,w=18,1l=18,1b=18,1k=D(e){k.1j(e,0)},1i=D(e){k.1j(e,1)};l(y.V.1a(\'23\')>=0){y=y.1m}l(y){y.n.1h=\'21\';y.n.20=\'1Z\';v d=y.1D(\'1C\');M(i=0;i<d.F;i++){v f=d[i].V.S(\' \');l(k.C(f,k.t.z+b+\'1B\')){w=d[i]}}l(o){o.n.1h=\'1A\';o.n.R=o.n.r=0;W(b){s"B":o.n.R=(o.L*-1)+y.L+\'u\';A;s"Q":o.n.r=(o.I*-1)+y.I+\'u\';A}W(b){s"B":s"T":o.n.1y=y.I+\'u\';A;s"Q":s"r":o.n.1x=y.L+\'u\';A}l(w){w.n.1h=\'1A\';1l=w.I;1b=w.L;W(b){s"B":w.n.R=1b*-1+\'u\';A;s"T":w.n.R=o.L+\'u\';A;s"r":w.n.r=o.I+\'u\';A;s"Q":w.n.r=o.I*-1+\'u\';A}W(b){s"B":s"T":w.n.r=0;w.n.1y=y.I+\'u\';A;s"r":s"Q":w.n.R=0;w.n.1x=y.L+\'u\';A}}}l(k.C(O,k.t.z+\'p-\',1)){p=14(k.C(O,k.t.z+\'p-\',1)||10)/10;l(K.1e&&p<1){p=1}}l(k.C(O,k.t.z+\'1T\')){k.t.1d=1}l(k.C(O,k.t.z+\'x\')){x=1}l(k.C(O,k.t.z+\'X\')){X=1}l(k.C(O,k.t.z+\'16-\',1)){U=1;k.t.Z=1;c=k.C(O,k.t.z+\'16-\',1)*1R}l(k.C(O,k.t.z+\'1v\')){k.N(o,\'1u\',1i);k.N(o,\'1t\',1k);l(w){k.N(w,\'1u\',1i);k.N(w,\'1t\',1k)}}k.m.1M([y.L,y.I,o,o.L,o.I,w,1b,1l,b,p,U,c,x,X])}}},1P:D(a){l(a){M(v i=0;i<k.m.F;i++){l(k.m[i][2]===a){k.m.1Q(i,1)}}l(k.m.F<=0){k.1f()}}},1s:D(){M(v i=0;i<k.m.F;i++){v a=k.m[i][0],H=k.m[i][1],o=k.m[i][2],G=k.m[i][3],J=k.m[i][4],P=k.m[i][5],1o=k.m[i][6],1g=k.m[i][7],q=k.m[i][8],p=k.m[i][9],U=k.m[i][10],16=k.m[i][11],x=k.m[i][12],X=k.m[i][13];l(!U&&!16){l(X){G=k.m[i][3]=o.L;J=k.m[i][4]=o.I;l(P){1o=k.m[i][6]=P.L;1g=k.m[i][7]=P.I}}W(q){s\'B\':s\'T\':v b=14(o.n.R.S(\'u\')[0]);b=(x===2)?((q===\'B\')?b-p:b+p):((q===\'B\')?b+p:b-p);l(P&&!x){b=k.1q(q,\'R\',b,P,G,a,1o,p,x)}E{l(x){l(x===((q===\'B\')?1:2)&&((G>a&&b+p>0)||(G<a&&b+G+p>a))){k.m[i][12]=((q===\'B\')?2:1)}l(x===((q===\'B\')?2:1)&&((G>a&&b+G<a+p)||(G<a&&b<0))){k.m[i][12]=((q===\'B\')?1:2)}}E{l(q===\'B\'){l(b>H){b=(G)*-1}}E{l(b<G*-1){b=a}}}}o.n.R=b+\'u\';A;s\'r\':s\'Q\':v c=14(o.n.r.S(\'u\')[0]);c=(x===2)?((q===\'r\')?c+p:c-p):(q===\'r\')?c-p:c+p;l(P&&!x){c=k.1q(q,\'r\',c,P,J,H,1g,p,x)}E{l(x){l(x===((q===\'r\')?2:1)&&((J>H&&c+p>0)||(J<H&&c+J+p>H))){k.m[i][12]=((q===\'r\')?1:2)}l(x===((q===\'r\')?1:2)&&((J>H&&c+J<H+p)||(J<H&&c-p<0))){k.m[i][12]=((q===\'r\')?2:1)}}E{l(q===\'r\'){l(c<J*-1){c=H}}E{l(c>H){c=(J)*-1}}}}o.n.r=c+\'u\';A}}}},1q:D(a,b,c,d,e,f,g,h,i){v j;W(a){s\'B\':s\'Q\':j=14(d.n[b].S(\'u\')[0])+h;l(c>0&&c<=f){d.n[b]=c-g+\'u\'}l(j+g>=f&&j<=f+h){d.n[b]=j+\'u\';c=j+e*-1}1p c;s\'T\':s\'r\':j=14(d.n[b].S(\'u\')[0])-h;l(c+e<=f){d.n[b]=c+e+\'u\'}l(j+g<=f&&j+g+h>=0){d.n[b]=j+\'u\';c=j+g}1p c}},Y:D(e){l(!k.15){k.19=k.15=K.2b(k.1s,k.t.1z)}},1f:D(e){l(k.15){K.2a(k.15);k.19=k.15=17}},1j:D(e,a){l(e.1n||e.1E){v b=e.1n?e.1n:e.1E;M(v i=0;i<5;i++){l(b.V.1a(k.t.z+\'1v\')<0&&b.V.1a(\'1B\')<0){b=b.1m}E{A}}k.U(b,a)}},Z:D(a){l(a>0){M(v i=0;i<k.m.F;i++){l(a===k.m[i][11]){k.m[i][10]=k.m[i][11]=0}}}},U:D(a,b){l(a&&b>=0){M(v i=0;i<k.m.F;i++){l(a===k.m[i][2]||a===k.m[i][5]){k.m[i][10]=b}}}},C:D(a,b,c){v d=\'\';l(a&&b){M(v i=0;i<a.F;i++){l(c&&a[i].1a(b)>=0){d=a[i].S(b)[1];A}E l(a[i]===b){d=a[i];A}}}1p d},N:D(a,b,c){l(a&&b&&c){l(K.1e){a.1e("28"+b,c)}E{a.2e(b,c,17)}}}};k.N(K,\'2g\',k.1r);',62,141,'||||||||||||||||||||ByRei_jScroller2|if|obj|style|child_div|speed|direction|left|case|cache|px|var|child_endless|alternate|parent_div|prefix|break|down|check_array|function|else|length|child_div_height|parent_div_width|clientWidth|child_div_width|window|clientHeight|for|set_eventListener|child_div_classNames|endless_div|right|top|split|up|pause|className|switch|dynamic|start|delayer|||||parseFloat|timer|delay|false|null|active|indexOf|child_endless_Height|error|ileave|attachEvent|stop|endless_div_width|position|func_stop|start_stop|func_start|child_endless_Width|parentNode|target|endless_div_height|return|check_endless|init|scroller|mouseout|mouseover|mousemove|add|height|width|refreshtime|absolute|_endless|div|getElementsByTagName|srcElement|true|scroll|resize|focus|de|blur|setTimeout|push|markusbordihn|Version|remove|splice|1000|jscroller2_|ignoreleave|http|150|Bordihn|jScroller2|info|hidden|overflow|relative|Markus|jscroller2|Author|ByRei|Autoscroller|Generation|on|document|clearInterval|setInterval|Next|Description|addEventListener|Name|load'.split('|'),0,{}))
//--></script>

Also comment line 124 in jscript_imagehover.js

}
    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;
    }
  }

The site is http://www.easytechnology.gr/ please tell me what to try. I want to have both on my site jscroller and image handler.

Thank you very much.

18 Sep 2009, 7:37 PM
#4277
soki avatar

soki

New Zenner

Join Date:
Apr 2008
Location:
Athens
Posts:
85
Plugin Contributions:
0

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

remove this also src="includes/js/jscroller2-1.5.js" from jscript_scroller.php

18 Sep 2009, 8:44 PM
#4278
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

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

soki:

To this, as you suggest...
I am not aware of having suggested anything and have not tested jscroller in conjunction with IH2 yet.
It is in my future plans, but I won't be able to help you immediately with this.
You might try the jscroller forum, or some other member of this forum might help.
Also, please don't address help requests to me, I am just another member.

20 Sep 2009, 10:34 AM
#4279
shoniqua avatar

shoniqua

New Zenner

Join Date:
Sep 2008
Posts:
33
Plugin Contributions:
0

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

kitcorsa:

anyone have anyideas why i have IH working on one site but dont on a sub domain and get this error??

I have the same problem, I recently moved hosts, I have no clue how to fix it, I have uninstalled and installed, cleared cache, going nuts trying to get images appearing, the 3 test images in Preview are blank, just the check pattern. Can someone suggest where I need to look to fix this mess please thank you.

20 Sep 2009, 2:21 PM
#4280
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

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

Sorry guys to not be able to help much for the moment.
I don't know what you are "uninstalling-reinstalling".
Some files in the Optional Extras folder of the previous version cause funky behaviour.
Let's hope that the Zen Cart team moves fast with publishing the latest version, which has troubleshooting and restoration.
You don't need to do several reinstalls, use version published by yellow1912 instead, and make sure everything is in correct location.