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

Results 3,221 to 3,240 of 7,094
7 Dec 2008, 11:16 PM
#3221
stxmona avatar

stxmona

Zen Follower

Join Date:
Aug 2008
Posts:
103
Plugin Contributions:
0

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

thanks again for the quick answer.

I am chosing to NOT use the hover at this time - only the slimbox.

You are correct about the IH file not being loaded. I didn't upload the "shopad" file to the site cuz it wasn't on the list of files that needed to be uploaded. Then I read again about the custom template file and uploaded that to my template file as well.
Question should the tpl_main_page remain in the folder popup_images_additional or somewhere else in the custom template area?

I went through the files - file by file - in my FTP program to compare and they all seem to be there.

None of these seem to work.........I still do not have the medium/product info images.

TIA
Mona

8 Dec 2008, 7:09 AM
#3222
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

MamaT:

Do you have any suggestions for me tophand? I've even tried reloading and uploading the files and I'm at the same place.....

What version of IH?
Have you double/triple check that you uploaded "all" the IH files and they are in the correct folders?
Have you compare them to be sure they are at the correct file size?
FTP programs sometime will fail to upload the entire file yet will report it was successful.

8 Dec 2008, 2:34 PM
#3223
mamat avatar

mamat

Zen Follower

Join Date:
Nov 2008
Posts:
222
Plugin Contributions:
0

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

Thank you. I'm going through and double checking everything as I read and respond here.

tophand:

What version of IH? Image Handler 2 for 1.3.x

tophand:

Have you double/triple check that you uploaded "all" the IH files and they are in the correct folders? Following this link (http://breakmyzencart.com/ih-doc?DokuWiki=186e0af19dd3607cfe602c15e69f815e), I have put the four following folders into my zencart folder, which is under my public_html: admin - bmz_cache - images - includes.

tophand:

Have you compare them to be sure they are at the correct file size? By this do you mean the images and bmz numbers? If so, yes I did, just did it again, they are both 755.

tophand:

FTP programs sometime will fail to upload the entire file yet will report it was successful. I just went to my control panel and looked there. All of the folders are showing, they are all 4KB, and the "perms" are all 0755. Yet I go to my admin/tools and there is nothing about IH showing up there.

8 Dec 2008, 3:42 PM
#3224
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

stxmona:

thanks again for the quick answer.

I am chosing to NOT use the hover at this time - only the slimbox.

You are correct about the IH file not being loaded. I didn't upload the "shopad" file to the site cuz it wasn't on the list of files that needed to be uploaded. Then I read again about the custom template file and uploaded that to my template file as well.
Question should the tpl_main_page remain in the folder popup_images_additional or somewhere else in the custom template area?

I went through the files - file by file - in my FTP program to compare and they all seem to be there.

None of these seem to work.........I still do not have the medium/product info images.

TIA
Mona

Shopad folder is extra stuff that the last person failed to remove before packaging & unloading this version of IH.
What I see missing is a css file.

In your IH admin, click the link to remove IH from the database. Don't worry you are not deleting anything.
Next Clear the image cache. You can do from IH admin or FTP or your website control panel. If you do 1 of the last 2 options you want to delete all the sub-folders from the bmz-cache folder. That done go back to IH admin click the Install IH link.

M

8 Dec 2008, 11:37 PM
#3225
mamat avatar

mamat

Zen Follower

Join Date:
Nov 2008
Posts:
222
Plugin Contributions:
0

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

I'm still searching looking for answers here. I found this thread:http://www.zen-cart.com/forum/showthread.php?t=83680

If I somehow wrote over those files, would it result in the problem that I'm having now, and if so, how would I remedy it?

If not....I'm still at square one:(

9 Dec 2008, 12:19 AM
#3226
stxmona avatar

stxmona

Zen Follower

Join Date:
Aug 2008
Posts:
103
Plugin Contributions:
0

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

tophand:

Shopad folder is extra stuff that the last person failed to remove before packaging & unloading this version of IH.
What I see missing is a css file.

In your IH admin, click the link to remove IH from the database. Don't worry you are not deleting anything.
Next Clear the image cache. You can do from IH admin or FTP or your website control panel. If you do 1 of the last 2 options you want to delete all the sub-folders from the bmz-cache folder. That done go back to IH admin click the Install IH link.

M
Ok Tophand - follow the instructions - both ways.
Removed IH
Delete Image cache
this done from Admin/Tools/IH
the sub folders in the bmz_cache were still there so I remove them (via Ispwitch WS-FTP)

Went back to Admin/Tools/IH and reinstalled IH

Still no medium pictures

I did it twice ;o) and still no medium/product info pictures.

Which css file am I missing and where does it go? Can I manually put it in place via FTP?

TIA
Mona

9 Dec 2008, 3:30 AM
#3227
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

stxmona:

Ok Tophand - follow the instructions - both ways.
Removed IH
Delete Image cache
this done from Admin/Tools/IH
the sub folders in the bmz_cache were still there so I remove them (via Ispwitch WS-FTP)

Went back to Admin/Tools/IH and reinstalled IH

Still no medium pictures

I did it twice ;o) and still no medium/product info pictures.

Which css file am I missing and where does it go? Can I manually put it in place via FTP?

TIA
Mona

I pick out two of your products.
Both are missing the medium image so it look like the file path is not correct or the image itself is missing.
This may have something to do with Slimbox mod.

http://www.quiltsonbroadway.com/zen/images/Benartex/SnowShow/90560_L.jpg

http://www.quiltsonbroadway.com/zen/images/RJR/AGardenersTouch/6985001_L.jpg

Pick one of your products, delete the image.
Go to IH manager and from the drop down box select the product and from the "Default image File" Browse ****upload a new image (your large image).
See what happens.

9 Dec 2008, 4:01 AM
#3228
stxmona avatar

stxmona

Zen Follower

Join Date:
Aug 2008
Posts:
103
Plugin Contributions:
0

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

tophand:

I pick out two of your products.
Both are missing the medium image so it look like the file path is not correct or the image itself is missing.
This may have something to do with Slimbox mod.

http://www.quiltsonbroadway.com/zen/images/Benartex/SnowShow/90560_L.jpg

http://www.quiltsonbroadway.com/zen/images/RJR/AGardenersTouch/6985001_L.jpg

Pick one of your products, delete the image.
Go to IH manager and from the drop down box select the product and from the "Default image File" Browse ****upload a new image (your large image).
See what happens.
Yes - that works....I did that in the kit section.

Do you think that I will have to continue to do this with new inventory?

I will browse thru the Slimbox section again to see about conflicts.

Thanks again for your quick responses!
Mona

9 Dec 2008, 4:21 AM
#3229
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

MamaT:

I'm still searching looking for answers here. I found this thread:http://www.zen-cart.com/forum/showthread.php?t=83680

If I somehow wrote over those files, would it result in the problem that I'm having now, and if so, how would I remedy it?

If not....I'm still at square one:(

PM sent.

9 Dec 2008, 8:41 AM
#3230
xblight avatar

xblight

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

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

Hey guys, I'm having a really annoying issue where the popup display of the medium sized images on my homepage isnt where it's supposed to be its like on a random point on the screen instead of by the image its zooming in to.

I had this problem once before and i just reinstalled IH2 and it worked just fine, thats not working now. Is there some kind of code I can use to fix this?

Thanks in advanced, please help me out because my store is supposed to be opening in a few days and this is one of the last kinks.

9 Dec 2008, 9:20 AM
#3231
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

xblight:

Hey guys, I'm having a really annoying issue where the popup display of the medium sized images on my homepage isnt where it's supposed to be its like on a random point on the screen instead of by the image its zooming in to.

I had this problem once before and i just reinstalled IH2 and it worked just fine, thats not working now. Is there some kind of code I can use to fix this?

Thanks in advanced, please help me out because my store is supposed to be opening in a few days and this is one of the last kinks.

A link help us help you.

Also have you check to see that you did upload "all" the IH files?

9 Dec 2008, 12:56 PM
#3232
stxmona avatar

stxmona

Zen Follower

Join Date:
Aug 2008
Posts:
103
Plugin Contributions:
0

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

One other thing I noticed is that when I manually put on the largest photo - the file size doesn't change for the small and medium.

For instance - I manually through IH2 in my tools section - put this file in the default image area - using the largest images. It did give me a small and medium by resizing them but the file size for all three are the same 67.95KB according to properties. Is this normal?

Here is the link and the picture is the first one -
http://www.quiltsonbroadway.com/zen/index.php?main_page=index&cPath=124_144_145

Thanks again
Mona

9 Dec 2008, 9:33 PM
#3233
brown12321 avatar

brown12321

New Zenner

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

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

I am noticeing that IH2 and zen Lightbox dont' work together with extra images? It works fine on the main image but does not work on the extra images added? Anyone else have this problem?

9 Dec 2008, 10:15 PM
#3234
shoulders avatar

shoulders

New Zenner

Join Date:
Jul 2008
Posts:
71
Plugin Contributions:
0

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

brown12321:

I am noticeing that IH2 and zen Lightbox dont' work together with extra images? It works fine on the main image but does not work on the extra images added? Anyone else have this problem?

i think this is a known problem, i am using hoverbox3 with no problems. it is like lightbox but better.works with IH2 fine

forum here

http://www.zen-cart.com/forum/showthread.php?t=89478
10 Dec 2008, 12:00 AM
#3235
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

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

tophand:

I believe the answer already been posted in this thread.

I thought it might have i spent 2 hours going through this thread i must have missed it... do you have any idea on what page is has been answered on?

10 Dec 2008, 1:42 AM
#3236
xblight avatar

xblight

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

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

Sorry my site is http://xblight.com/store/.
I noticed that it only occurs in google chrome, not in any of my other browsers.
It used to work in google chrome too though, so it would be nice if there was a fix for that.

10 Dec 2008, 4:16 AM
#3237
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

xblight:

Sorry my site is http://xblight.com/store/.
I noticed that it only occurs in google chrome, not in any of my other browsers.
It used to work in google chrome too though, so it would be nice if there was a fix for that.

Probably a chrome problem.
Have you check the chrome support site?

10 Dec 2008, 4:20 AM
#3238
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

gee38l:

I thought it might have i spent 2 hours going through this thread i must have missed it... do you have any idea on what page is has been answered on?

Something about editing the code for the pop-up.
Right now it calls the medium image, change it to call the large image or set a fixed size.
I'm thinking the post(s) was around August 08.

10 Dec 2008, 4:26 AM
#3239
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

stxmona:

One other thing I noticed is that when I manually put on the largest photo - the file size doesn't change for the small and medium.

For instance - I manually through IH2 in my tools section - put this file in the default image area - using the largest images. It did give me a small and medium by resizing them but the file size for all three are the same 67.95KB according to properties. Is this normal?

Here is the link and the picture is the first one -
http://www.quiltsonbroadway.com/zen/index.php?main_page=index&cPath=124_144_145

Thanks again
Mona

What is your image compression setting admin-->Configuration-->images?

10 Dec 2008, 9:31 AM
#3240
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

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

OK i have an error in IE7:

Line: 125
Char: 7
Error: "ClientY" is null or not an object

Now i have been reading about this error and i have tried to change PageY to ClientY still seems to come up. I noticed in a previous post someone had posted a modified file but the link was broken.

Im using the most recent IH2 install, installed and reinstalled numerous times and followed a few ways on here but still nothing.
I think it has only started happening today!

Can someone please check my js file?

Link: https://www.truwater.com.au

/*
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) + e.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 gee38l