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

Results 1,681 to 1,700 of 7,094
7 Oct 2007, 8:49 AM
#1681
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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

AndyII:

Actually many many zen sites have validate errors !!!!This is true. But these user-introduced errors (base Zen Cart is valid code) still cause browser and accessibility issues and should be fixed. It's also often much harder to find the cause of serious structural errors if they're hidden in a ton of invalid code.

7 Oct 2007, 10:52 AM
#1682
funkyslings avatar

funkyslings

New Zenner

Join Date:
Feb 2007
Posts:
9
Plugin Contributions:
0

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

Hi,

Im having difficulty with the IH2 module, for months it was working fine and uploaded images were working great with resizing, hovering etc.

Now however, whenever I upload a new image wth IH2 enabled, the page containing that new image is blank, and he admin page for that item is also blank in IH2 admin.

If i disable IH2 then everything works ok in terms of the page displaying but without the IH functionality of course.

All previous images and products uploaded with IH2 work absolutely fine with IH2 enabled but Im in a situation now where I cant upload anything new without the pages not displaying

Had a search through a lot of pages on this thread and having difficulty trying to locate the problem, please can someone help me on this?

Thanks
Marlena
www.funkyslings.com

7 Oct 2007, 11:00 AM
#1683
funkyslings avatar

funkyslings

New Zenner

Join Date:
Feb 2007
Posts:
9
Plugin Contributions:
0

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

FunkySlings:

Hi,

Im having difficulty with the IH2 module, for months it was working fine and uploaded images were working great with resizing, hovering etc.

Now however, whenever I upload a new image wth IH2 enabled, the page containing that new image is blank, and he admin page for that item is also blank in IH2 admin.

If i disable IH2 then everything works ok in terms of the page displaying but without the IH functionality of course.

All previous images and products uploaded with IH2 work absolutely fine with IH2 enabled but Im in a situation now where I cant upload anything new without the pages not displaying

Had a search through a lot of pages on this thread and having difficulty trying to locate the problem, please can someone help me on this?

Thanks
Marlena
www.funkyslings.com

Hmm might have found something with the image size, reduced to 800 x 600 for example now works, was uploading over 2000 x XXX size and that wasnt working but smaller size jpeg does work.

7 Oct 2007, 1:39 PM
#1684
francocauter avatar

francocauter

Zen Follower

Join Date:
Jun 2007
Location:
Milton Keynes UK
Posts:
153
Plugin Contributions:
0

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

Hi Every One
I would like to know why hoverbox2 does not work with the images for Document Products or Document General.
Is it too sofisticated to handle images for documents or is it me that cannot get it to work? Does IH2 interfere with it?
Hoverbox 2, works fine with Product General it just does not work with Document Product and Document General for the large image.
It disables the normal popup image too infact the large image goes into a new explorer window. http://www.mkstay.co.uk/index.php?ma...h=1_7_11_15_19
I want to use this site mostly for Document General but I do not want to disable the cart completely from Product Type General.
To achieve both features in the shop I will disable cart features in Product Type Document Product but I would like the images to come up with Hoverbox.
If you have any idea Please...
Thanks
Regards
Franco

8 Oct 2007, 8:55 AM
#1685
blag avatar

blag

Zen Follower

Join Date:
May 2007
Location:
Leicester, England
Posts:
165
Plugin Contributions:
0

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

kuroi:

This is true. But these user-introduced errors (base Zen Cart is valid code) still cause browser and accessibility issues and should be fixed. It's also often much harder to find the cause of serious structural errors if they're hidden in a ton of invalid code.
WOW! What a can of worms this is!! In my limited experience of ZC I have discovered that many mods have validation errors. I thinbk it is a 'bit rich' to expect each user to have to pull apart these third-party mods so that they can correct the inherent errors! In many cases this would not only be time-consuming, but also beyond their expertise.

I hgave previously mooted the idea that third party mods must not be allowed to feature in the Downloads area until they can demonstrate that they produce valid code when installed to a fresh ZC, but I am told (by Dr Byte) that this is not practicable, and that most third party mods would fail?

As a matter of interest Kuroi, and no criticism intended, do your mods validate? How about starting a campaign or organisation for 'Validated Mods' with a verification system?

8 Oct 2007, 9:32 AM
#1686
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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

blag:

As a matter of interest Kuroi, and no criticism intended, do your mods validate?Yes, they do. I use the HTML Validator add-in for Firefox that gives me an icon on every page to show if it is valid or not. It's a bit more difficult to keep track of in the Admin side of Zen Cart as there is still old, non-validating osCommerce code in there, but my mods never add non-validating code and, subject to a rule of minimal intrusion into core code, I remove or correct it where it falls into the areas which I am changing anyway.

Writing valid code isn't some geeky, ideal. It's just common-sense. It's so much easier to develop this way, than to try to fix the structural and cross-browser compatibility issues that arise later if you don't. That stills leaves the ... coughs ... Internet Explorer idiosyncrasies to be dealt with, but they're a known and widely documented quantity.

I like your idea of a campaign for valid mods, but I fully understand where Dr Byte is coming from. Performing a full test of all conditions, on all affected pages, for each of the hundreds of mods in the downloads section simply wouldn't be a feasible task. However, any non-validating code should be reported back to mod authors via their support threads.

8 Oct 2007, 12:24 PM
#1687
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

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

Francocauter, I think you'll find that the Product General module pages and/or templates have the necessary code to display the popup hoverbox or image handler images, and that Document General and Document Product do not. e.g. Document General might be set up without any popup larger image support at all.

Comparing the header_php, main_template_vars and tpl_ files for the different product type might give you an idea of what needs to be changed or added.
Or possibly temporarily rename or copy Product General files to the Document General equivalents until the images start to appear?

8 Oct 2007, 11:40 PM
#1688
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

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

Hello,
I have posted a part of this message in another area and thought that "this" must be the place to ask for help. Sorry about the extra posts. I am having the following issues:

  1. Image Handler functionality does not work in Internet Explorer (no pop-up images... works fine in FF).

  2. My layout gets hosed in Internet Explorer if I use more than 3 products across a row (3 works fine but 4 or 5 do not).

I really need help with this folks... my site is starting to go live and these are the only problems that I have that need to be resolved.

PLEASE HELP!
thank you in advance... I appreciate it very much.

9 Oct 2007, 1:01 AM
#1689
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

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

Ok everyone... here is some more info on the outstanding issues I have. As I said before IE would not work with 4 or 5 images per row and it would break the layout. Well, just for grins, I tried to set it to 6 images per row and you guessed it.... IE worked fine and dandy using 6 items per row. Doesn't make a bit of sense to me but that's what happened. So I consider that problem fixed.... 6 across is fine for me.

That leaves the Image Handler hover functionality not working or not creating any images in IE. Works great in FF. When I hover over an image in IE, nothing happens. Nothing at all. Still looking for a fix for this one. I'm hoping that some of you veterans out there can help me.

Thanks for your help and listening to me go on and on... lol
-cd-

9 Oct 2007, 2:38 AM
#1690
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

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

Fird my post above and replace your imagehover javascript, that will fix your hover problems in IE.

9 Oct 2007, 3:18 AM
#1691
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

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

gothstone:

Fird my post above and replace your imagehover javascript, that will fix your hover problems in IE.

Hi GothStone, thanks for trying to help. It did not do the trick though (I'm sorry to say). Can you think of anything else that it might be? I put the javascript file in my template folder/jscript location. Does it need to go anywhere else?

I will keep looking... Hope you can come up with something else. I DO appreciate your help... thanks a bunch

-cd-

9 Oct 2007, 8:35 AM
#1692
francocauter avatar

francocauter

Zen Follower

Join Date:
Jun 2007
Location:
Milton Keynes UK
Posts:
153
Plugin Contributions:
0

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

Hi There
I have this problem with IE7 (Only when there is additional images) with a "Document Product":
http://www.mkstay.co.uk/index.php?main_page=document_product_info&cPath=1_7_11_15_19&products_id=2

We have repaired the the same problem for the "Product General":
http://www.mkstay.co.uk/index.php?main_page=product_info&cPath=1_7_11_15_19&products_id=1

Do you have a solution so it works with the whole of the zen cart system and not just for the single problem?

Best Regards
Franco

9 Oct 2007, 9:49 AM
#1693
blag avatar

blag

Zen Follower

Join Date:
May 2007
Location:
Leicester, England
Posts:
165
Plugin Contributions:
0

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

kuroi:

Yes, they do. I use the HTML Validator add-in for Firefox that gives me an icon on every page to show if it is valid or not. It's a bit more difficult to keep track of in the Admin side of Zen Cart as there is still old, non-validating osCommerce code in there, but my mods never add non-validating code and, subject to a rule of minimal intrusion into core code, I remove or correct it where it falls into the areas which I am changing anyway.

Writing valid code isn't some geeky, ideal. It's just common-sense. It's so much easier to develop this way, than to try to fix the structural and cross-browser compatibility issues that arise later if you don't. That stills leaves the ... coughs ... Internet Explorer idiosyncrasies to be dealt with, but they're a known and widely documented quantity.

I like your idea of a campaign for valid mods, but I fully understand where Dr Byte is coming from. Performing a full test of all conditions, on all affected pages, for each of the hundreds of mods in the downloads section simply wouldn't be a feasible task. However, any non-validating code should be reported back to mod authors via their support threads.
I am only suggesting that the Administrators of ZC, whosoever they may be, create a body of guru volunteers which validates and Certifies the code for a given mod when installed in a 'fresh' and unmodified example of the then 'current' release of ZC.

I fully appreciate that it would be impossible to check every mod's effect on every other mod, but my suggestion would at least give the potential user some degree of reassurance in that it is clean code when used in a specified 'base' environment. Any changes in either ZC, or in a mod, would require that the mod is re-submitted for Certification.

The un-certified mods could still exist in the downloads area, but Certified mods woul be identified somehow.

This could be financed quite easily I would have thought. Let's say that each download requires that the user pays a modest sum for the right to download a 'certified' mod, say $1 irrespective of the complexity of the mod, then ZC Admin might generate quite a bit of income. This income could be used to reimburse those who are responsible for issuing the Certification!! (Personally I wouldn't object to paying $1 for a mod - many are worth much more - and I don't have a problem in the Admin using the money because it is for the benefit of all users, which is why we contribute the mods in the first place)

It's comforting to know that your mods do validate - I need to check my own modest contribution I suppose!!!

9 Oct 2007, 9:52 AM
#1694
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

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

Hello everyone,

I have found out something else about my Image Handler 2 installation. When I go to admin->Image Handler2->preview I see nothing but blank images instead of the stock images that come with Image Handler2. I did a right click on one image, clicked on "view image" and I got the following error: "/biz/biz/admin/images/ih-test.png does not exist." Notice that the "biz" folder is listed twice but in my directory tree it's really only listed once.

Any idea of what could be causing this? Could this have anything to do with the issues I'm having with IE not showing popup images?

thanks,
-cd-

9 Oct 2007, 11:30 AM
#1695
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

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

crabdance:

Hi GothStone, thanks for trying to help. It did not do the trick though (I'm sorry to say). Can you think of anything else that it might be? I put the javascript file in my template folder/jscript location. Does it need to go anywhere else?

I will keep looking... Hope you can come up with something else. I DO appreciate your help... thanks a bunch

-cd-

That file needs to go in includes/templates/template_default/jscript/ . I have no clue why, but I've never had any luck putting it in my customtemplate directory.

9 Oct 2007, 11:41 AM
#1696
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

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

francocauter:

Hi There
I have this problem with IE7 (Only when there is additional images) with a "Document Product":
http://www.mkstay.co.uk/index.php?main_page=document_product_info&cPath=1_7_11_15_19&products_id=2

We have repaired the the same problem for the "Product General":
http://www.mkstay.co.uk/index.php?main_page=product_info&cPath=1_7_11_15_19&products_id=1

Do you have a solution so it works with the whole of the zen cart system and not just for the single problem?

Best Regards
Franco

I tried to see what might be causeing the error, but the broken page has 64 validation errors in the XHTML! http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mkstay.co.uk%2Findex.php%3Fmain_page%3Ddocument_product_info%26cPath%3D1_7_11_15_19%26products_id%3D2&charset=%28detect+automatically%29&doctype=Inline&group=0
The "working" page is actualy worse at 91 errors: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mkstay.co.uk%2Findex.php%3Fmain_page%3Dproduct_info%26cPath%3D1_7_11_15_19%26products_id%3D1&charset=%28detect+automatically%29&doctype=Inline&group=0

Go through these errors, find the offending code with the developers tool kit, and fix it. It can be nearly impossible to troubleshoot the problems a mod may create when they are compounded by other errors.

9 Oct 2007, 11:45 AM
#1697
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

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

crabdance:

Hello everyone,

I have found out something else about my Image Handler 2 installation. When I go to admin->Image Handler2->preview I see nothing but blank images instead of the stock images that come with Image Handler2. I did a right click on one image, clicked on "view image" and I got the following error: "/biz/biz/admin/images/ih-test.png does not exist." Notice that the "biz" folder is listed twice but in my directory tree it's really only listed once.

Any idea of what could be causing this? Could this have anything to do with the issues I'm having with IE not showing popup images?

thanks,
-cd-

I suggest completly removing and reinstalling Image handler. Make sure to use its own function to remove it from the database. Also check your configure.php settings, through it these were wrong you should be having all kinds of other problems.

9 Oct 2007, 2:07 PM
#1698
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

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

gothstone:

I suggest completly removing and reinstalling Image handler. Make sure to use its own function to remove it from the database. Also check your configure.php settings, through it these were wrong you should be having all kinds of other problems.

Hi Gothstone,
I uninstalled IH2 from the IH2 admin section. I also checked out the configure.php file. The php file was okay.... no directory dups there.

Now that I have uninstalled it and reinstalled It's not working at all now. It used to work in Firefox but not in IE. Now it doesn't work in either. I'm also using your newer javascript file.

I checked out the files that were blank before and had the dup directory in it and the double directory still shows up.

I might have overwritten some files that I had changed when I copied the IH2 files into their directories. So I'm at square one... still looking for help.

any ideas?
-cd-

9 Oct 2007, 2:28 PM
#1699
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

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

Well, I got things to work in Firefox again. It was a configuration issue. I had to turn "small image hotzone" in Admin->Configuration->Images to "yes". Once I did that the zoom feature works in Firefox again. Now I'm back to just trying to get it to work in IE. Still need help...

Thanks for any help,
-cd-

9 Oct 2007, 2:57 PM
#1700
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

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

Ok... new behavior to report. I have noticed that zoom images only works in Firefox if the "IH zoom gravity" is set to the default (Southeast). It does not work in any other position. Does that make any sense?

Just hoping to give enough information so maybe I can get the issues with IE resolved.

thanks everyone,
-cd-