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

Results 6,361 to 6,380 of 7,094
3 Feb 2011, 2:46 PM
#6361
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

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

arty101:

avanz.com.au is the site. As in above post, the attached picture of additional images are there but now showing on the main site.

you have lightbox and image handler installed...did you happen to remember to merge--I think it is the additional images file...

there is a file that needs to be merged which both share so that could be the problem...compare both zips folder to find out for certain which file is the matching one then merge them together by adding the lightbox code to the IH2 file.

3 Feb 2011, 6:45 PM
#6362
sigp220 avatar

sigp220

New Zenner

Join Date:
Dec 2010
Posts:
25
Plugin Contributions:
0

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

This must be the largest thread on the forum. I must admit I have not looked at every post. There is obviously much interest in this contribution. I personally want to be able to use this tool.

I seemingly had no problems with the install. I am using the most current version with Zen cart V3.1.9h. I had all of the default Zen cart Demo files installed along with my own template, files etc. I adhere strictly to the override system to the extent possible.
I have a few mods but most all the files are stored in my-template folders.

Several Image handler install files are Admin so they have been installed in my default Admin files. I have a new folder, Uploads installed in Host/Htdocs/Zencart/.

Before the install of Image handler 2.0 I had no product images except the default Test/demo images and icons.

I installed. The zoom feature works. I uploaded about 100 product images.

Here is where I am confused. most of the test/demo files are neatly organized in their respective sub folders. I could only install my product images in the main images directory. The images now appear except there are no files in the med or large folders and I have no Large image display, only the path and a red X. I am now also missing most of the Zen cart test/demo images and some icons.

Something either did not get installed correctly or there is a problem with the program.

3 Feb 2011, 9:25 PM
#6363
divavocals avatar

divavocals

Totally Zenned

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

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

Sigp220:

This must be the largest thread on the forum. I must admit I have not looked at every post. There is obviously much interest in this contribution. I personally want to be able to use this tool.
I ALWAYS suggest reading/search through any module's support thread.. Great way to know all the ins and outs of the module..

Sigp220:

I seemingly had no problems with the install. I am using the most current version with Zen cart V3.1.9h. I had all of the default Zen cart Demo files installed along with my own template, files etc. I adhere strictly to the override system to the extent possible.
I have a few mods but most all the files are stored in my-template folders.

Several Image handler install files are Admin so they have been installed in my default Admin files. I have a new folder, Uploads installed in Host/Htdocs/Zencart/.

Before the install of Image handler 2.0 I had no product images except the default Test/demo images and icons.

I installed. The zoom feature works. I uploaded about 100 product images.

Here is where I am confused. most of the test/demo files are neatly organized in their respective sub folders. I could only install my product images in the main images directory. The images now appear except there are no files in the med or large folders and I have no Large image display, only the path and a red X. I am now also missing most of the Zen cart test/demo images and some icons.

Something either did not get installed correctly or there is a problem with the program.

Sounds like something was not installed configured correctly and without the usual compliment of information we ALWAYS ask for in this support thread (link to the a specific product where the issue you are reporting can be seen -- don't make us dig through your whole site :smile:). Without seeing this issue it would be nothing but wild guesses to know what the specific issue was..

I've quoted other posts in this thread with information you might find useful to troubleshoot the issue and to help you understand how IH2 works (and why it does NOT use the _MED or _LRG folders)

DivaVocals:

Not likely.. IH2 takes care of the image naming following Zen Carts requirements for additional product images naming conventions.. There is no work required by the shopowner to take advantage of this feature..

In fact a shopowner doesn't have to worry about this at all.. If they upload a main product image named flower.jpg, and three additional images named tulip.jpg, daisy.jpg, and rose.jpg, IH2 would correctly rename all the additional images to the proper naming convention required for them to be recognized as additional images by Zen Cart. So using my example, IH2 would rename tulip.jpg, daisy.jpg, and **rose.jpg **to flower_01.jpg, flower_02.jpg, and flower_03.jpg.

IH2 takes the name of the main product image and then appropriately names the additional product images so that they are linked to the correct product.

The MOST common reason for additional images to not appear on the product when they appear in the IH2 admin has EVERYTHING to do with using mixed image file fomats for the main and additional product images.. You cannot have a main product image be a JPG while the additional product images are another file format (say GIF or PNG for example)

So the way for this to work correctly is that you must make sure that the main product image and all additional images uploaded MUST be the same filetype.. (I do believe this is covered in the IH2 readme documentation..)

and by the way you cannot "fool" IH2 by simply changing the file extension of the additional images.. If the main product image is a JPG, then you must convert any additional images that are not the same format to the correct matching format.

DivaVocals:

Not really an IH2 created issue rather this is how Zen Cart identifies/manages additional product images.. My guess is that based on the behavior you are describing you have product images with the similar names and Zen Cart is interpreting them as additional images for another product as per these Zen Cart FAQs:
Why am I seeing images for other products on my product pages?

How do I add multiple images to a product?

How do I add more than one image of a product? I want to have a main image and also one or two other images that show more parts of a particular product. How/where do I add additional images to a product page? Thanks!

IH2 is meant to ease the work required to setup images for your store.. It works WITH default Zen Cart functionality, it does not replace it.. Here's some additional FAQs which discuss how product images work in Zen Cart..
Image Preparation - How-to

My images are distorted/fuzzy/squished, help?

Check out these FAQs and see if they help clarify how Zen Cart works with product images..

5 Feb 2011, 5:44 AM
#6364
arty101 avatar

arty101

New Zenner

Join Date:
Aug 2010
Posts:
22
Plugin Contributions:
0

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

DarkAngel:

you have lightbox and image handler installed...did you happen to remember to merge--I think it is the additional images file...

there is a file that needs to be merged which both share so that could be the problem...compare both zips folder to find out for certain which file is the matching one then merge them together by adding the lightbox code to the IH2 file.

Thank you for your response.
Yes you are right, I have both programs installed.
What code DO I need to copy and where to put? OR I need to copy all code to one of the file of IH2?
i dont have any background of programming or etc..

5 Feb 2011, 5:51 AM
#6365
divavocals avatar

divavocals

Totally Zenned

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

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

arty101:

Thank you for your response.
Yes you are right, I have both programs installed.
What code DO I need to copy and where to put? OR I need to copy all code to one of the file of IH2?
i dont have any background of programming or etc..You don't need to know how to PROGRAM.. but you will need to understand how to merge the files that both IH2 and the lightbox have in common so that you have the code BOTH modules required to work.. It isn't about picking one over the other.. You need the code that BOTH modules required merged where the two share common files.. You need a file comparison program like Winmerge or Beyond Compare..

5 Feb 2011, 6:58 AM
#6366
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

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

one of the file is in:

includes>modules>your_templates_folder>additional_images.php

what I did was open them both and compared the files then when I came across the zenbox cod I copied it to the IH2 file....saved then reuploaded it to the folder on the server.

remember to work off a copy of the file NOT the original and I try to put a ~ at the end of the original ones name [additional_images.php~] on the server to have it there should the edited one misbehave the I just remove the ~ after deleteing the edited one...that way I don't kill my store too much

10 Feb 2011, 7:16 PM
#6367
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

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

I'm sure this has been asked before so sorry for reasking - just the 600+ pages are quite daunting. :smile:

How do you go about customising the watermark ?

10 Feb 2011, 9:59 PM
#6368
divavocals avatar

divavocals

Totally Zenned

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

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

PatF:

I'm sure this has been asked before so sorry for reasking - just the 600+ pages are quite daunting. :smile:

How do you go about customising the watermark ?
Short answer: You will need to create a transparent PNG file in roughly the same size as the watermark PNGs which come with this module. You will need an image editing software capable of creating transparent PNG files.

Suggest doing some general web searches on the topic if you require more details on HOW to create transparent images. Truly, a full blown discussion on how to create transparent PNGs and the right software to use to create them (along with explicit step by step instructions of the process) is very much off topic for this support thread.. See if these links help..

http://search.yahoo.com/search?p=create+transparent+PNGs&ei=UTF-8&fr=moz35

http://www.google.com/#hl=en&&sa=X&ei=uF9UTaKdJ8yUtwf_98G5CQ&ved=0CBYQvwUoAQ&q=create+transparent+images&spell=1&fp=d46d7fcb6d497136

10 Feb 2011, 10:21 PM
#6369
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

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

I'd settle for directions to where the file is that needs to be overwritten :laugh:

10 Feb 2011, 11:25 PM
#6370
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

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

PatF:

I'd settle for directions to where the file is that needs to be overwritten :laugh:

There is one in each of the following locations:

images/watermark.png
images/large/watermark_LRG.png
images/medium/watermark_MED.png

10 Feb 2011, 11:36 PM
#6371
divavocals avatar

divavocals

Totally Zenned

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

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

PatF:

I'd settle for directions to where the file is that needs to be overwritten :laugh:
FYI, the info clyde provided can be found in the IH2 readme.. (full list of IH2 module files is included there)

clydejones:

There is one in each of the following locations:

images/watermark.png
images/large/watermark_LRG.png
images/medium/watermark_MED.png

11 Feb 2011, 9:52 AM
#6372
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

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

Thanks clyde

@Diva - you're absolutely right and apologies for asking a question covered in the readme. :oops:

11 Feb 2011, 1:56 PM
#6373
tesla1 avatar

tesla1

New Zenner

Join Date:
Feb 2011
Posts:
22
Plugin Contributions:
0

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

Hi,

Can't seem to locate a fix for this.

I have ZenCart 1.3.9h installed with zj_silver template, image handler2 and Zen Lightbox.

Everything is working fine but when you mouse over a pic the page displays at the bottom left hand corner.

http://www.teslacorp-rd-inc.com/Zen/index.php?main_page=product_info&cPath=1_4_5_17&products_id=24

Anyway to fix this?

Thank you.

11 Feb 2011, 2:10 PM
#6374
divavocals avatar

divavocals

Totally Zenned

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

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

Sorry.. don't see the error, but I'm inclined to think it's not an IH2 issue at all either..

tesla1:

Hi,

Can't seem to locate a fix for this.

I have ZenCart 1.3.9h installed with zj_silver template, image handler2 and Zen Lightbox.

Everything is working fine but when you mouse over a pic the page displays at the bottom left hand corner.

http://www.teslacorp-rd-inc.com/Zen/index.php?main_page=product_info&cPath=1_4_5_17&products_id=24

Anyway to fix this?

Thank you.

11 Feb 2011, 2:51 PM
#6375
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

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

tesla1:

Hi,

Can't seem to locate a fix for this.

I have ZenCart 1.3.9h installed with zj_silver template, image handler2 and Zen Lightbox.

Everything is working fine but when you mouse over a pic the page displays at the bottom left hand corner.

http://www.teslacorp-rd-inc.com/Zen/index.php?main_page=product_info&cPath=1_4_5_17&products_id=24

Anyway to fix this?

Thank you.

sorry but i did nt see it either, here is a snap of what i saw in firefox

11 Feb 2011, 3:03 PM
#6376
tesla1 avatar

tesla1

New Zenner

Join Date:
Feb 2011
Posts:
22
Plugin Contributions:
0

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

Hi,

I'm using IE 8 and I get this error so I guess it's a brainfart in the browser. :huh:

I won't worry about it then.

Thanks for your responses, much appreciated.

11 Feb 2011, 3:10 PM
#6377
scriptjunkie avatar

scriptjunkie

Totally Zenned

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

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

That's just IE being IE. I see that error for your site whether or not I mouse over any images (only in IE, not in FireFox). I get similar errors on my site in IE but when I run the site past a validator, there are no errors to be found.

11 Feb 2011, 5:42 PM
#6378
divavocals avatar

divavocals

Totally Zenned

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

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

ScriptJunkie:

That's just IE being IE. I see that error for your site whether or not I mouse over any images (only in IE, not in FireFox). I get similar errors on my site in IE but when I run the site past a validator, there are no errors to be found.
I figured that this was some sort of IE error (which BTW, I don't see the error in IE either).. Given that it's not showing up for everyone and it only happens in IE, I stand by my original gut thought that whatever this is, it's not caused by IH2..

ETA: Dunno what's going on with tesla1's site right now, but it's loading SLOW as he!! and it not loading completely..)

11 Feb 2011, 7:18 PM
#6379
scriptjunkie avatar

scriptjunkie

Totally Zenned

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

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

DivaVocals:

I figured that this was some sort of IE error (which BTW, I don't see the error in IE either).. Given that it's not showing up for everyone and it only happens in IE, I stand by my original gut thought that whatever this is, it's not caused by IH2..

Agreed it's not IH2 - I've had that on my site when viewed in IE since IE7 was released, and it has remained with IE8. It's interesting though, that not everyone with IE8 sees it. My take on it is: If a site passes validation, who cares with IE says? I consider it an "impossible to please" browser. :yuck:

11 Feb 2011, 8:54 PM
#6380
nigelt74 avatar

nigelt74

Totally Zenned

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

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

tesla1:

Hi,

Can't seem to locate a fix for this.

I have ZenCart 1.3.9h installed with zj_silver template, image handler2 and Zen Lightbox.

Everything is working fine but when you mouse over a pic the page displays at the bottom left hand corner.

http://www.teslacorp-rd-inc.com/Zen/index.php?main_page=product_info&cPath=1_4_5_17&products_id=24

Anyway to fix this?

Thank you.
The error you are getting is because the showtrail method isn't defined.

This is caused because you haven't included the image handler JS file (or the css one for that matter).

run the Internet explorer developer tools (F12), select script, and then run the debugger and it will tell you.