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

Results 1,081 to 1,100 of 7,094
6 Apr 2007, 1:14 AM
#1081
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

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

OK, one more question and I think I will be happy ;) If you look here: http://www.modesty-matters.com/store/index.php?main_page=index&cPath=1 the images are the small ones and that's fine. I would really like for the image from the hover to be the large image and not the medium. How do you do about adjusting what the sm, med and large pic sizes are? Mine are right now 80x80, 120x120, and 400x400. Are these sizes automatic percentages of the original pic size?

Amy

6 Apr 2007, 1:19 AM
#1082
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

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

OK, piddled again and change Product info-image width and height and now my hover is much larger. Thanks!
Amy

6 Apr 2007, 2:07 AM
#1083
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

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

Oh, good. Glad to hear you got it working. Sorry I couldn't get back before now. Was busy.

6 Apr 2007, 12:12 PM
#1084
doodlebee avatar

doodlebee

Inactive

Join Date:
Jan 2006
Posts:
228
Plugin Contributions:
0

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

Did you check the permissions settings on your images folder? And the images/large folder?

Are you using the exact same .png images that were working before?

Yep, yep and yep.

Absolutely everything is the same. It even works fine - just the large images have no watermark anymore (and yes, they are set to have them).

EDIT: I still have access to the bmz_cache folder on the old server - do you think it would help to copy it and move it to the new server?

6 Apr 2007, 2:19 PM
#1085
doodlebee avatar

doodlebee

Inactive

Join Date:
Jan 2006
Posts:
228
Plugin Contributions:
0

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

Edit that - I did move the cache files, and it did nothing.

I'm going to now uninstall/reinstall the whole thing. Don't know what else to do!

6 Apr 2007, 3:05 PM
#1086
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

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

IH stopped finding images.

I switched host and for some reason IH doesn't add the additional pics for NEW item. The old Items are fine. but new items are not adding the extra pics

I uploaded all files with set perm. 777.

example of files

Main image ABC.jpg
extra images :
ABC_01.jpg
ABC_02.jpg

i can however add images manually but it's getting annoying.

Please Help

ZC 1.3.7

6 Apr 2007, 4:21 PM
#1087
graphicman avatar

graphicman

New Zenner

Join Date:
Dec 2004
Location:
Wakefield. UK
Posts:
82
Plugin Contributions:
0

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

Hi
I will be grateful if any body can shed some light on this for me.
I have just installed Image Handler 2 which seemed to go ok until i found the whole of my site covered in errors eg

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/toyjoysh/public_html/bmz_cache/3/3b4d38918d4728028c5e4e49a1278873.image.32x40.jpg' for writing in /home/toyjoysh/public_html/includes/classes/bmz_image_handler.class.php on line 652

i think i'm going to pull my hair out, i can't seem to find anybody with a similar error in any of the forums.

Thank you in advance.

6 Apr 2007, 5:01 PM
#1088
graphicman avatar

graphicman

New Zenner

Join Date:
Dec 2004
Location:
Wakefield. UK
Posts:
82
Plugin Contributions:
0

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

Graphicman:

Hi
I will be grateful if any body can shed some light on this for me.
I have just installed Image Handler 2 which seemed to go ok until i found the whole of my site covered in errors eg

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/toyjoysh/public_html/bmz_cache/3/3b4d38918d4728028c5e4e49a1278873.image.32x40.jpg' for writing in /home/toyjoysh/public_html/includes/classes/bmz_image_handler.class.php on line 652

i think i'm going to pull my hair out, i can't seem to find anybody with a similar error in any of the forums.

Thank you in advance.

No need to reply, i just discovered that it helps to set the file permissions properly.

6 Apr 2007, 6:11 PM
#1089
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

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

Get Em Fast:

Oh, good. Glad to hear you got it working. Sorry I couldn't get back before now. Was busy.

No need to apologise. Sometimes it's better to learn the hard way. You tend not to forget!
Amy

6 Apr 2007, 6:31 PM
#1090
doodlebee avatar

doodlebee

Inactive

Join Date:
Jan 2006
Posts:
228
Plugin Contributions:
0

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

A new development - seems anything to do with large images isn't taking. I've just tried resizing them in the configuration panel (they were set to max 800 x800, because that is the max size for the images) - it won't take. Also, the popup window looks different. It didn't have a menu bar before, but now it does. So I'm starting to think there's something "not connecting" here for some reason, or something is wrong with the javascript (but it han't been touched, and was working fine prior to the upgrade).

I've already reinstalled with a fresh copy. Same problems remain.

Also, in the "Tools" area, it says there's no default image set. The images are showing, but when you "click to enlarge" they all come up as 404.

Id it possible that, somehow, the IH2 has "lost" all of the images? Even though they're there and viewable, it seems I cannot resize and watermarks don't show on the base image file (_LRG). I don't know if this is a bug that's clashing with the upgrade or what?

Anyway, if anyone knows how to turn off the popup, that could be a viable short-term solution - I can watermark the medium sized images. But they're still linked to open the largeest one, even though I have the "Zoom Medium Images" set to "no".

7 Apr 2007, 9:07 AM
#1091
tolefairy avatar

tolefairy

Zen Follower

Join Date:
Feb 2007
Location:
West Texas
Posts:
122
Plugin Contributions:
0

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

Amy---doodlebuckets

I don't know if it's just me or what, but I viewed your site in FF and it looks great, but when I viewed in IE6, your Slide does not function (says your slideshow is empty), and I had to scroll half way down the main page before any of your words or graphics were visible. Right sideboxes seem to be ok.

Didn't know if you were aware of this. I don't know what is causing this in IE6, but thought I would pass it on in case you need to check it out.

8 Apr 2007, 1:51 AM
#1092
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

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

I am having the same problem that has been discussed with no resolution at breakmyzencart.com. I cannot find a similar discussion here.

When using IH2 with Firefox I have no problems. However, with IE6 the first few image pop-ups (near the top of the page) work fine but as you move down the page they seem to popup either far away from the original/base image or mostly not at all. I think when they don't popup at all they may be popping up but just not on the visible part of the screen.

Any and all ideas would be greatly appreciated. Thanks in advance.

Using the latest version on the zen-cart downloads 2.0v0916 with zen-cart 1.3.7
Problem can be seen HERE (in ie6).

As you move down the page, the problem starts at row 4.
Where the images appear below the cursor they appear ok.
When they are forced to appear above the cursor they progressively move higher up the page until they disappear off the top of the page.

I have also had a quick look at 6 sites in the Showcase using IH2 and they all show this same behaviour.

Not sure if its related but HERE they discuss a bug in javascript in ie6 that might be a problem.

Regardless, does anyone have a solution to this problem in ie6?

8 Apr 2007, 9:05 AM
#1093
batteryman avatar

batteryman

Zen Follower

Join Date:
Jul 2004
Location:
Las Vegas
Posts:
327
Plugin Contributions:
0

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

Hello,

I have tried the suggestion by xtremme and that did work either. what else should I try??? this is the only thing that is stopping me from taking this new store live, so i really need to get this issue resolved.

no image shows up in the product listing page.

avel

9 Apr 2007, 10:51 PM
#1094
doodlebee avatar

doodlebee

Inactive

Join Date:
Jan 2006
Posts:
228
Plugin Contributions:
0

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

Okay - finally got it!

Before, I had downloaded a fresh copy of IH2, uninstalled and overwrote the old files.

This time I went through and deleted all the old files. Cleared all the cache files (borwser) and reuploaded everything.

FINALLY it works. Whew.

10 Apr 2007, 1:22 PM
#1095
doodlebee avatar

doodlebee

Inactive

Join Date:
Jan 2006
Posts:
228
Plugin Contributions:
0

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

...and now I have a new fun issue.

Would anyone know why, in IE7 (haven't checked 6 yet) when you hover over a product image on the "List Products" page the "popup" shows up only in the original viewable area of the screen?

Meaning, if I open up the page so "View all products" is shown, and scroll all the way to the bottom of the screen to the last product - if I hover my mouse over the image, the "popup" appears out of view, all the way at the top where the original viewable area is.

The site went live yesterday, but I don't know if I have permission to post the URL in a support forum, so to assist in keeping it from being found, I'll say the URL is (get your brains ready for a puzzle!) Natalie - you want the first 4 letters, and add an "s" to the end...and Photographer, you want the first 5 letters, and add an "s" to the end. Smoosh them together as one word, and add on dot COM. Go to any product page in IE7 and open it up to "View All" - scroll down and you'll see what I mean. The little popups only want to show in the orginal viewable area.

Anyone have any ideas on this? (running 1.3.7)

Oh yeah, and why to the little "hotzone" plus size watermarks show up, when it's set to "no" for "hotzone"? If I set it to "yes, they're still there, but the popups don't work anymore.

10 Apr 2007, 7:28 PM
#1096
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

doodlebee:

...and now I have a new fun issue.

Would anyone know why, in IE7 (haven't checked 6 yet) when you hover over a product image on the "List Products" page the "popup" shows up only in the original viewable area of the screen?

Meaning, if I open up the page so "View all products" is shown, and scroll all the way to the bottom of the screen to the last product - if I hover my mouse over the image, the "popup" appears out of view, all the way at the top where the original viewable area is.

The site went live yesterday, but I don't know if I have permission to post the URL in a support forum, so to assist in keeping it from being found, I'll say the URL is (get your brains ready for a puzzle!) Natalie - you want the first 4 letters, and add an "s" to the end...and Photographer, you want the first 5 letters, and add an "s" to the end. Smoosh them together as one word, and add on dot COM. Go to any product page in IE7 and open it up to "View All" - scroll down and you'll see what I mean. The little popups only want to show in the orginal viewable area.

Anyone have any ideas on this? (running 1.3.7)

Oh yeah, and why to the little "hotzone" plus size watermarks show up, when it's set to "no" for "hotzone"? If I set it to "yes, they're still there, but the popups don't work anymore.

Nice looking site! I know there is a setting that you can adjust for this problem you're describing. Unfortunately, it's buried in this very long thread so you might want to do a search. Alternatively you can go to Tim's support site to see if there is a fix for this. There are fixes posted there that are not here. The url for Tim's forum is: http://forums.breakmyzencart.com/

Best Wishes!

12 Apr 2007, 1:06 AM
#1097
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

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

**doodlebee, that's REAL close to another site (www.natsphotos.com), which is the first one I went to, as I forgot the "a" on Nata.
But, for your's, I don't really have a clue if it will work, but I noticed that your jscript_imagehover.js is quit different than mine, and I have had no problems of this nature on my site. So, what the hey......it's worth a shot, to try my version, and it will only take you a couple of seconds to copy, paste, save, clear the browser cache, and check it out.
Just don't forget to back yours up first! Here's what mine looks like, and as I said, they have quit a few differences:

/*
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.

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){
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.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 = "-500px";
trailstyle.top = "-500px";
}

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 < 300){
xcoord = e.pageX - xcoord - 286; // Move to the left side of the cursor
} else {
xcoord += e.pageX;
}
if (docheight - e.pageY < (currentimageheight + 0)){
ycoord += e.pageY - Math.max(0,(0 + currentimageheight + 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 < 300){
xcoord = event.clientX + truebody().scrollLeft - xcoord - 286; // Move to the left side of the cursor
} else {
xcoord += truebody().scrollLeft+event.clientX;
}
if (docheight - event.clientY < (currentimageheight + 0)){
ycoord += event.clientY + truebody().scrollTop - Math.max(0,(0 + currentimageheight + event.clientY - docheight));
} 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 == "-500px") || (trail.style.left == "")) { trail.style.left=xcoord+"px"; }
if ((trail.style.top == "-500px") || (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";
}
}
}

Hope this helps. The images show up a little farther to the right of the cursor, but if your customers can at least see them, they (and you) will be happy, right?
**

12 Apr 2007, 9:30 AM
#1098
kirstynm avatar

kirstynm

New Zenner

Join Date:
Mar 2007
Posts:
1
Plugin Contributions:
0

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

I've only just started to use ZenCart, so please bear with me. :smile:

I've installed IH2 and the fix so that my additional images show up at the bottom of the page like so:

http://www.sinpatiko.com/testsite2/index.php?main_page=product_info&products_id=2

I just want to know if there is a quick and easy way to have these additional images presented vertically down the page beneath the larger product image, with the product info text, etc, next to it?

Any help would be much appreciated!

12 Apr 2007, 1:25 PM
#1099
oliv avatar

oliv

New Zenner

Join Date:
Apr 2007
Posts:
3
Plugin Contributions:
0

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

Hi,

I don't know if i'm the only one to face this problem, haven't noticed it along this big thread.

Image Handler is regularly and randomly disactived on my ZenCart. I've find that the IH_VERSION entry in the CONFIGURATION table just disappears. Then, IH is simply disabled, and i have to "Install Image Handler" manually in the admin zone to solve the problem.

I can't explain.

My only lead is that this entry has a strange "configuration_group_id" value : 0.

Thank you for your help.

12 Apr 2007, 2:29 PM
#1100
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

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

oliv, could it just be browser cache playing it little tricks on you?