Forums / General Questions / Image handler hover no longer working on attributes

Image handler hover no longer working on attributes

Results 1 to 19 of 19
18 Feb 2015, 18:05
#1
jcrewe avatar

jcrewe

Zen Follower

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

Image handler hover no longer working on attributes

Hi there :)

I'm hoping someone can help me with an issue I am experiencing with my website. Some of my products have attribute photos, and a lot of them! LOL! They were originally set up to show as small thumbnail photos and then would enlarge when hovering over them. I noticed the other day that this option is no longer working on my site....the pictures are showing large and overlapping each other and just looks horrible :( I was told that this may be due to an 'automatic' zen cart update??? Not sure if that is possible or not. In any event, I need to fix this and cannot find any instructions on how to do so. Any suggestions? Here's a like to a page of my site that will show the problem: http://www.funwrappers.ca/index.php?main_page=product_info&cPath=2_11&products_id=613

Thanks :)
18 Feb 2015, 19:07
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Image handler hover no longer working on attributes

Couple of questions to be answered may help with resolution:

What were the conditions under which this was working properly before? (ZC version, php version, etc... What of those has changed since it was last verified functional and for example the php version may have been changed by your host.)
What has changed that you know of since the last time you verified this functionality?
As for any type of "automatic" ZC update, ZC doesn't push updates to the server (at this time), so the only automatic update I could think of is if you upgraded your ZC software through a one-click install program instead of following any of the published procedures.
I see/saw what it looks like now, not sure I understand what it was supposed to look like, but yes below the dropdown selecter there are several overlapping images all very large. Do you know/have the software that was installed to make this perform as desired and does it need to be reinstalled?
Any error logs in your logs folder (myDebugxxx)?
18 Feb 2015, 21:57
#3
jcrewe avatar

jcrewe

Zen Follower

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

Re: Image handler hover no longer working on attributes

Thank you mc12345678 for your reply :)

Some of what you have asked kinda flew over my head! LOL! While I am somewhat familiar with Zen cart with regards to maintaining my site, I hired someone to set it up initially for me. My site was upgraded to the current version about a month ago and all was fine....I have no idea about the PHP. As far as I know, nothing changed from the last time I verified the site was in working order. Last Friday is when I noticed that there was a problem with a lot of the changes I made, such as my old pixelly logo reappeared, the add to cart button moved from the bottom of the page to near the top, the discount pricing box moved from the top of the page to the bottom of the page, the attribute photos changed from thumbnails that you can hover over to large and overlapped and the Image Handler mod was gone. I immediately contacted my host and what I was told was that the problem was caused by 'automatic updating'. For all I know, this could a BS line but don't want to jump to any conclusions! LOL! At the end of the day, I just need to figure out how to fix this :(

I hope that helps :)
18 Feb 2015, 23:16
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Image handler hover no longer working on attributes

No, that's fine if didn't understand the question(s). Perhaps you could identify which need more clarification, be glad to offer more detailed assistance or reference to information. (I think anyone responding fits that bill.)

The current php version can be identified by logging into the admin panel and selecting the version link in the upper right hand corner. The php version (as well as a number of other useful information) is provided in the upper portion of the screen.

As for "image handler" there is a program available from this website that is titled image handler and the version applicable to your site would be version 4. Would you mind identifying if that is the program installed that may have been setup/modified to give those results? Can tell by going to the admin panel, tools and identifying if there is an menu option of Image Handler 4.

Generally what it seems like has happened is that your template selection may have changed...

Would you mind also while in the admin panel going to tools->template (sorry forgot the actual name but it's usually like the second option in the list)

From there, identify at the bottom right, how many templates are recognized, and if the current template at the top right looks like the named template you expect?

If not, you could also do a little investigation to see why or "by whom" it changed by reviewing the admin activity log. But will leave that discussion for later if necessary. :)
19 Feb 2015, 04:40
#5
jcrewe avatar

jcrewe

Zen Follower

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

Re: Image handler hover no longer working on attributes

Thank you for your guidance in finding more information :smile:

- I currently have php version 5.4.37.
- I can confirm that IH4 has was reinstalled onto my website yesterday. I was hoping that a simple reinstall would fix the problem but it didnt :( From what I can remember, it was IH4 that was installed previously that 'disappeared' last week when this problem was discovered.
- The templates section is showing at the bottom right two installed; Classic Contemporary Green and A Pink Boutique. The named template in the top right says A Pink Boutique.

I hope I covered all your questions above :smile:
19 Feb 2015, 06:08
#6
gilby avatar

gilby

Totally Zenned

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

Re: Image handler hover no longer working on attributes

Are you using the mod "Attribute Rollovers"?
This may not work with IH4 out of the box
19 Feb 2015, 06:13
#7
jcrewe avatar

jcrewe

Zen Follower

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

Re: Image handler hover no longer working on attributes

No, I'm not using Attribute Rollovers. As far as I know, IH4 has the hover option.
19 Feb 2015, 06:45
#8
gilby avatar

gilby

Totally Zenned

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

Re: Image handler hover no longer working on attributes

jcrewe:

No, I'm not using Attribute Rollovers. As far as I know, IH4 has the hover option.

You are using this mod Attribute Rollovers for the attribute images.
And this is the part causing problems
The relevent css is missing from your stylesheet

It might be part of the template you are using?

Nothing to do with IH4
19 Feb 2015, 06:49
#9
gilby avatar

gilby

Totally Zenned

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

Re: Image handler hover no longer working on attributes

I added the CSS from this mod to your page and it "fixed" your display
19 Feb 2015, 06:53
#10
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Posts:
2,862
Plugin Contributions:
5

Re: Image handler hover no longer working on attributes

Have youou chechecked that IH4 is enabled? And the IH hover function is enabled?
19 Feb 2015, 07:29
#11
gilby avatar

gilby

Totally Zenned

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

Re: Image handler hover no longer working on attributes

Design75:

Have youou chechecked that IH4 is enabled? And the IH hover function is enabled?

All the product images are the same image that is being resized by the browser
So... No IH4 is NOT yet enabled.
As well the images also have "spaces" in their names, not recommended, can cause problems..

But this is NOT the problem with the display of the attribute images
The "Attribute Rollovers" mod is being used for this and the CSS is missing
19 Feb 2015, 16:06
#12
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Posts:
10,011
Plugin Contributions:
1

Re: Image handler hover no longer working on attributes

Let me jump in here.. This is NOT AN IMAGE HANDLER ISSUE.. Image Handler's image hover functions have not now nor has it EVER worked on attribute images..

SOMETHING ELSE is the issue (as has been pointed out by gilby..)
19 Feb 2015, 21:54
#13
jcrewe avatar

jcrewe

Zen Follower

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

Re: Image handler hover no longer working on attributes

Thank you everyone so much for helping me figure this out. Okay, so I've just learned something new...LOL...i have a mod I didnt even know was there! LOL!

So, Attribute Rollover is what allows the attribute hover feature, not IH4...how do I confirm if the mod is still installed? I can't seem to find it in any of the drop down options in the admin panel like I can with other installed mods. Maybe I can only see it in ftp? If it is still installed, how to I change the CSS and what do I change? I am completely lost :(

And while the issue is not IH4 related, for s**ts and giggles and checked to see if was enabled and it wasnt! So, I turned in back on :smile:
19 Feb 2015, 22:52
#14
gilby avatar

gilby

Totally Zenned

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

Re: Image handler hover no longer working on attributes

jcrewe:

So, Attribute Rollover is what allows the attribute hover feature, not IH4...how do I confirm if the mod is still installed? I can't seem to find it in any of the drop down options in the admin panel like I can with other installed mods. Maybe I can only see it in ftp? If it is still installed, how to I change the CSS and what do I change? I am completely lost :(


Download the mod and extract the files.
There is only one file "attributes.php", compare with the original file

To fix...
Open the file "ReadMe.txt "
Cut and copy the CSS section
Add to the bottom of your active template "stylesheet.css" file

I did this using firefox (developers toolkit) and it appeared to sort the problem.

You may then need to tweak the CSS to get the final look you want
20 Feb 2015, 00:02
#15
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Image handler hover no longer working on attributes

Also understand that there may be other differences in the attributes.php file (if installed following ZC guidelines should be found in a directory similar to: includes/modules/a_pink_boutique/attributes.php although a_pink_boutique may be slightly different but should match the directory name for your active template.). Important to determine is that the changes made to the file from the download compared to a default ZC version of the file are included in your file. Let us know if that file doesn't exist there before you copy it into the directory. But it sounds like from the testing that gilby did, that it seems like it works like it is supposed to once the css is incorporated. I haven't tried the same so can't say.
20 Feb 2015, 17:11
#16
jcrewe avatar

jcrewe

Zen Follower

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

Re: Image handler hover no longer working on attributes

OMG IT WORKED! I jumped out of my chair and did a happy dance when I reloaded my webpage and saw that the thumbnails were back to normal!!! I can't thank you enough for helping me with this! The amount of time you all spend on here helping us newbies bumble our way through web design is beyond amazing and I am truly grateful :D
20 Feb 2015, 17:16
#17
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Image handler hover no longer working on attributes

jcrewe:

OMG IT WORKED! I jumped out of my chair and did a happy dance when I reloaded my webpage and saw that the thumbnails were back to normal!!! I can't thank you enough for helping me with this! The amount of time you all spend on here helping us newbies bumble our way through web design is beyond amazing and I am truly grateful :D


Wooo hooo! :) I think gilby did the hard lifting of identifying which plugin was the one to address... (Might suggest making/keeping a list of the plugins you have/had installed... If nothing else it will help your next installer (if you don't decide to do it yourself) get through a lot quicker...)

For clarity to anyone else that comes across this issue, would you mind describing what actions you took to correct it?
20 Feb 2015, 17:37
#18
jcrewe avatar

jcrewe

Zen Follower

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

Re: Image handler hover no longer working on attributes

mc12345678:

Wooo hooo! :) I think gilby did the hard lifting of identifying which plugin was the one to address... (Might suggest making/keeping a list of the plugins you have/had installed... If nothing else it will help your next installer (if you don't decide to do it yourself) get through a lot quicker...)

For clarity to anyone else that comes across this issue, would you mind describing what actions you took to correct it?


I've defintely added Attribute Rollover to my list of mods that I have on my site....I wish I had known earlier that it was this mod and not IH4 as it would have made figuring out the problem so much easier! LOL!

I did exactly what gilby suggested: I downloaded the mod, opened the readme file and copy and pasted the css section to the bottom of my template stylesheet.css. This was someting that I had never done before so before I mucked around with the coding, I saved a copy of the original stylesheet.css onto my desktop in case I did something wrong I could go back and copy and paste the original code that was there.
20 Feb 2015, 18:04
#19
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Image handler hover no longer working on attributes

Whew, good. Glad that was all that needed to be done. For information, the css code could have been added elsewhere as well and did not have to go into the stylesheet.css file, but instead could have been in like product_info.css so that those rules only load when looking at the product_info page.

Examples of where it could have been placed are provided at: http://www.zen-cart.com/wiki/index.php/Customisation_-_Templates_-_Stylesheets_-_Per-Page-Rules