If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Image Handler 2 (for ZC v1.3.8 ONLY) Support

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

Started by timkroeger on 17 May 2006, 11:27 AM · Views: 2,513,746

Results 6,941 to 6,960 of 7,094
28 Sep 2011, 6:50 PM
#6941
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Post #6941 by jeking

I have a client using Zen 1.3.9 and IH2. They'd like to turn off the image hover function on the category pages. As there no no 'option' for this, my question is if I edit /includes/classes/bmz_image_handler.class.php will that work? Or am I likely to break other IH2 functions?

Said another way, is the hover function integral to IH2?

Jim
Wheaton Website Services

28 Sep 2011, 7:09 PM
#6943
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Post #6943 by jeking

@Chuckl

Thanks!!

Jim
Wheaton Website Services

29 Sep 2011, 1:46 PM
#6944
divavocals avatar

divavocals

Totally Zenned

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

Post #6944 by divavocals

jeking:

I have a client using Zen 1.3.9 and IH2. They'd like to turn off the image hover function on the category pages. As there no no 'option' for this, my question is if I edit /includes/classes/bmz_image_handler.class.php will that work? Or am I likely to break other IH2 functions?

Said another way, is the hover function integral to IH2?The hover feature was always one of those "nice to have" features that was thrown into IH2.. As IH2 was primarily meant to optimize and manage images, it is NOT an integral feature and if removed or modified does not affect IH2s PRIMARY purpose..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

29 Sep 2011, 9:40 PM
#6945
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #6945 by delia

I hate to do this but I can't find the answer and I've put some time into looking at this thread.

I need to remove the image path from displaing in the hover. I understand that it is the alt tag that is displaying and I don't see where in the mod this is determined. I used dreamweaver to do search on the files but it's not popping out.

Plenty of references to $alt in the functions but I never see where that is set up.

Does anyone know where this might be found?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

29 Sep 2011, 10:10 PM
#6946
nigelt74 avatar

nigelt74

Totally Zenned

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

Post #6946 by nigelt74

It has been asked in this thread, I know i answered it. Can't find my original post but here is one that references, there is a big discussion somewhere before that post,

http://www.zen-cart.com/forum/showpost.php?p=938222&postcount=5818

Webzings Design
Semi retired from Web Design

29 Sep 2011, 11:01 PM
#6947
neilyuk avatar

neilyuk

New Zenner

Join Date:
Jul 2009
Location:
Scotland
Posts:
4
Plugin Contributions:
0

Post #6947 by neilyuk

Hi All,

Hope someone can point me in the right direction here, I'm having problems with my products not displaying the large image preview window, basically it freezes when opening in firefox & IE but seems fine on safari?

I've been trying to sort this out for a week now but with no sucess but have picked up some useful info regarding uploading my images and also correctly naming them.

So my main questions are, is this problem easily fixed or should I just look at upgrading to IH3?

The store has been customized & installed by a fellow zen cart forum member who could be contacted about this problem but I would prefer to start learning how to fix these problems out myself.

Zen V1.3.9h
IH2 version 2

Thanks in advance & hope I haven't left anything important out:blush:

Cheers
Neil

29 Sep 2011, 11:56 PM
#6948
nigelt74 avatar

nigelt74

Totally Zenned

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

Post #6948 by nigelt74

neilyuk:

Zen V1.3.9h
IH2 version 2

Thanks in advance & hope I haven't left anything important out:blush:

Cheers
Neil

Yes, a link to your site so we can see the problem, and the code thats causing it.

Provide a link to an effected page please.

When you say preview, do you mean

a) The large image on the product information page that appears when you click on the "larger image" link
OR
b) The hover image

Webzings Design
Semi retired from Web Design

30 Sep 2011, 1:48 AM
#6949
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #6949 by delia

nigelt74:

It has been asked in this thread, I know i answered it. Can't find my original post but here is one that references, there is a big discussion somewhere before that post,

http://www.zen-cart.com/forum/showpost.php?p=938222&postcount=5818

Actually all I want to do is remove the alt tag from showing when you hover over - not actually remove the alt tag itself from the image. The image handler is purposely displaying that in the hover so it has to be in the image handler files.

Then I started thinking. I was looking to the php for an answer - there's javascript with this thing (DUH).

So with a little bit of experimentation:
in templates/js/jscript_imagehover.js

line 193

newHTML = '<div><h1>' + title + '</h1>';

change it to this to keep the white border

newHTML = '<div><h1>'  + '</h1>';

or this to remove the white border

newHTML = ' ';

I love answering my own questions!

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

30 Sep 2011, 2:56 AM
#6950
nigelt74 avatar

nigelt74

Totally Zenned

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

Post #6950 by nigelt74

Ah Ok, you mean the caption on the actual hover image box, yep thats the right way to remove it.

I assumed you meant the alttag that is displayed when you hover on an image, on any image, eg hover over your avatar to the left here and it should say "Delias Avatar", on some browsers that hover appears on the IH image hover and looks a bit odd.

delia:

Actually all I want to do is remove the alt tag from showing when you hover over - not actually remove the alt tag itself from the image. The image handler is purposely displaying that in the hover so it has to be in the image handler files.

Then I started thinking. I was looking to the php for an answer - there's javascript with this thing (DUH).

So with a little bit of experimentation:
in templates/js/jscript_imagehover.js

line 193

newHTML = '<div><h1>' + title + '</h1>';

> change it to this to keep the white border
> ```
newHTML = '<div><h1>'  + '</h1>';

or this to remove the white border

newHTML = ' ';

> 
> I love answering my own questions!

Webzings Design
Semi retired from Web Design

30 Sep 2011, 1:46 PM
#6951
neilyuk avatar

neilyuk

New Zenner

Join Date:
Jul 2009
Location:
Scotland
Posts:
4
Plugin Contributions:
0

Post #6951 by neilyuk

nigelt74:

Yes, a link to your site so we can see the problem, and the code thats causing it.

Provide a link to an effected page please.

When you say preview, do you mean

a) The large image on the product information page that appears when you click on the "larger image" link
OR
b) The hover image

A. The large image on the product info page when clicking "larger image".

I knew I would forget something :blush: https://www.gogographics.co.uk

30 Sep 2011, 4:34 PM
#6952
scriptjunkie avatar

scriptjunkie

Totally Zenned

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

Post #6952 by scriptjunkie

neilyuk:

A. The large image on the product info page when clicking "larger image".

I knew I would forget something :blush: https://www.gogographics.co.uk

This is a Zen Lightbox support issue rather than an IH2 support issue, because it is your lightbox that is not functioning.

When you install Zen Lightbox together with IH2, there are special installation instructions regarding a file they share. Unfortunately, the documentation for this has not yet been added to the Zen Lightbox Read_Me, and was not included in the IH2 Read_Me.

This special installation instruction was added to the Read_Me for IH3 Release. Even though you are still using IH2, recommend you download IH3 and take a look at the Read_Me file - specifically the "Troubleshooting" tab, under the section that addresses using IH and ZLB together.

If, after following those instructions, your lightbox still isn't functioning, recommend you post on the Zen Lightbox support thread.

Good luck and happy Zenning :)

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

2 Oct 2011, 6:46 PM
#6953
neilyuk avatar

neilyuk

New Zenner

Join Date:
Jul 2009
Location:
Scotland
Posts:
4
Plugin Contributions:
0

Post #6953 by neilyuk

ScriptJunkie:

This is a Zen Lightbox support issue rather than an IH2 support issue, because it is your lightbox that is not functioning.

When you install Zen Lightbox together with IH2, there are special installation instructions regarding a file they share. Unfortunately, the documentation for this has not yet been added to the Zen Lightbox Read_Me, and was not included in the IH2 Read_Me.

This special installation instruction was added to the Read_Me for IH3 Release. Even though you are still using IH2, recommend you download IH3 and take a look at the Read_Me file - specifically the "Troubleshooting" tab, under the section that addresses using IH and ZLB together.

If, after following those instructions, your lightbox still isn't functioning, recommend you post on the Zen Lightbox support thread.

Good luck and happy Zenning :)

Many thanks for pointing me in the right direction Mr Junkie :thumbsup: At least I know where to start now:smile:

2 Oct 2011, 7:15 PM
#6954
scriptjunkie avatar

scriptjunkie

Totally Zenned

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

Post #6954 by scriptjunkie

You're very welcome :smile:

neilyuk:

Many thanks for pointing me in the right direction Mr Junkie :thumbsup: At least I know where to start now:smile:

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

17 Oct 2011, 4:20 PM
#6955
stylenote avatar

stylenote

New Zenner

Join Date:
Sep 2011
Posts:
15
Plugin Contributions:
0

Post #6955 by stylenote

Hi,
I'm having problems uploading pictures.
I upload a product and add pictures with image handler, until then everything's fine. Then when I upload a second product and try to add pictures with image handler, I get the same pictures as the previous product, uploaded to my new product as well ! And if I try to edit these pictures to put the ones I want instead, they also change in my first product ! And it goes the same for every product I add after that. It's like it's the same picture files for every product.
Does anyone have any idea of what might be the problem ? I'm really stuck here..
Thank you !

17 Oct 2011, 5:07 PM
#6956
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Post #6956 by jeking

What at the image file names you're using?

Jim
Wheaton Website Services

17 Oct 2011, 6:50 PM
#6957
gavgav avatar

gavgav

New Zenner

Join Date:
Jul 2011
Posts:
29
Plugin Contributions:
0

Post #6957 by gavgav

ive just install ih 3 whic when well and can only get it to work on sub catogries and extra images in the product pages can any one hellp would like it to work on all images

17 Oct 2011, 7:43 PM
#6958
stylenote avatar

stylenote

New Zenner

Join Date:
Sep 2011
Posts:
15
Plugin Contributions:
0

Post #6958 by stylenote

jeking:

What at the image file names you're using?

Wow,I never thought about it, but I'm always using pretty much the same file names, since they were in different folders I didn't think it'd mattered.. I will try that, thank you so much !!

17 Oct 2011, 8:51 PM
#6959
scriptjunkie avatar

scriptjunkie

Totally Zenned

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

Post #6959 by scriptjunkie

gavgav:

ive just install ih 3 whic when well and can only get it to work on sub catogries and extra images in the product pages can any one hellp would like it to work on all images

You need to post in the IH3 support thread. This thread is for IH2.

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

17 Oct 2011, 8:53 PM
#6960
scriptjunkie avatar

scriptjunkie

Totally Zenned

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

Post #6960 by scriptjunkie

stylenote:

Wow,I never thought about it, but I'm always using pretty much the same file names, since they were in different folders I didn't think it'd mattered.. I will try that, thank you so much !!

**It matters so much that there's a detailed tutorial for image file naming **in the IH3 Read_Me. Even though you are running IH2, the file naming protocol is the same.

Recommend that you download the IH3 installation package, launch the Read_Me file, and take a look at the Troubleshooting tab under the section called "Prepare Your Site for Growth".

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary