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

Results 5,401 to 5,420 of 7,094
16 Jul 2010, 4:10 PM
#5401
fei2010 avatar

fei2010

New Zenner

Join Date:
Jun 2010
Posts:
56
Plugin Contributions:
0

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

hc1501:

Hi Diva,

Thanks a lot for your help and reply.

I am still not very clear what is to be done. This is what I did today.

1.) Downloaded the latest version of IH2 from zencart downloads.
2.) Uploaded all the files as it is.
3.) Removed the Image Handler from Admin > Tools > Imahe Handler2
4.) Installed it once again and cleared the cache

Please tell me where am I going wrong?

Thanks a lot

hc

you missed one critical step, read the "readme.html" and follow the installation instruction.

16 Jul 2010, 4:29 PM
#5402
hc1501 avatar

hc1501

New Zenner

Join Date:
Jan 2009
Posts:
64
Plugin Contributions:
0

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

sorry, i forgot to mention that i had already renamed that folder to my custom template and then uploaded. in your earlier post you have mentioned about the jscript folder but there seem to be none in the files i have downloaded...

16 Jul 2010, 4:42 PM
#5403
hc1501 avatar

hc1501

New Zenner

Join Date:
Jan 2009
Posts:
64
Plugin Contributions:
0

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

hey, there seems to be a problem with the files that I have downloaded. I downloaded the files from breakmycart which seems to be different from those on zencart. I am really sorry. Let me try out with the files on zencart and reply back. sorry for the headache...

16 Jul 2010, 4:54 PM
#5404
hc1501 avatar

hc1501

New Zenner

Join Date:
Jan 2009
Posts:
64
Plugin Contributions:
0

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

thanks a lot diva. the hover is working fine now with the new files.

and also thanks to the makers of IH2 for the great mod.... :-)

16 Jul 2010, 5:51 PM
#5405
k8ee avatar

k8ee

New Zenner

Join Date:
Sep 2009
Location:
Ontario, Canada
Posts:
23
Plugin Contributions:
0

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

Ok, so this has been a pre existing issue that I haven't had time to completely explore until now.

I am preparing to upgrade to 1.3.9, and so have installed a test version and have begun to install the mods to make sure they work. The previous website, which was 1.3.8, I had installed IH2 and was having problems with the user clicking on the product image in the product details, and instead of the lightbox displaying the large file, the lightbox just hangs.

Now I figured out the reason for this is there is no image_LRG.jpg in images/large/ folder. When I create a new product I choose the file (500x500, .jpg. with no suffix) and upload it from the new product page. I had then been uploading via FTP all the same files (but with _LRG added to the end of the file name) into the images/large folder. But this doesn't seem to makes sense... IH2 was designed by smart people, so this can't be how it is supposed to work.

Since the fresh install has the exact same bug as the pervious install I can only assume I am not using IH2 properly. If someone could please show me the light, it would be greatly appreciated. (...no pun intended...)

Here is a link for fun:
http://12stepjewelry.com/test/index.php?main_page=product_info&cPath=1&products_id=4

16 Jul 2010, 5:55 PM
#5406
k8ee avatar

k8ee

New Zenner

Join Date:
Sep 2009
Location:
Ontario, Canada
Posts:
23
Plugin Contributions:
0

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

I should also mention that when I go to the IH2 menu, and I bring up the product, it shows all three pictures, and they are at the correct size.

I have also changed all image settings in admin to those suggested in the installation readme.

16 Jul 2010, 7:19 PM
#5407
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

k8ee:

I should also mention that when I go to the IH2 menu, and I bring up the product, it shows all three pictures, and they are at the correct size.

I have also changed all image settings in admin to those suggested in the installation readme.
Honestly as far as what I can see this is more of an issue with your lightbox mod than IH2. Please uninstall the lightbox and test IH2 WITHOUT the lightbox mod. When you have done this it will be easier for folks to help you resolve actual IH2 issues.. Once you have IH2 working correctly you can try the lightbox mod again. If you still have issues, then you will have to post in the support thread for your lightbox for assistance in getting your lightbox to work correctly.

16 Jul 2010, 7:33 PM
#5408
k8ee avatar

k8ee

New Zenner

Join Date:
Sep 2009
Location:
Ontario, Canada
Posts:
23
Plugin Contributions:
0

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

I have only installed IH2... would the template have come with a lightbox installed? I'm using the zj_silver_wide.

It must have because I just tried changing the template and the a regular pop-up comes up with the larger image. At least now I know that IH2 is working properly.

Thanks for you help!

16 Jul 2010, 9:12 PM
#5409
k8ee avatar

k8ee

New Zenner

Join Date:
Sep 2009
Location:
Ontario, Canada
Posts:
23
Plugin Contributions:
0

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

I have finally solved the mystery.

For anyone else using the ZJ_SILVER_WIDE template, has installed IH2 and is having lightbox zoom errors (where the large image does not load, and the lightbox hangs), simply do the folllowing.

The solution: replace includes/modules/main_product_image.php with the same file from the original file set.

I am not entirely sure what the effect will be to IH2 (since I think that file was one of the ones changed in the IH2 installation) in the long term, but from what I can tell, everything seems to be working.

:clap:

17 Jul 2010, 3:18 AM
#5410
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

This really only fixes your template (ie your lightbox) and breaks IH2 functions.. So your problem is only HALF solved..

Replacing the includes/modules/main_product_image.php file with the one from your template and overwriting the IH2 version of the includes/modules/main_product_image.php file will get your lightbox working and disable modifications made to the includes/modules/main_product_image.php for IH2.

The correct way to fix your issue is to use a program like Winmerge or Beyond Compare and and merge the includes/modules/main_product_image.php from your template and the one from IH2. This way both the lightbox and IH2 will work together..

k8ee:

I have finally solved the mystery.

For anyone else using the ZJ_SILVER_WIDE template, has installed IH2 and is having lightbox zoom errors (where the large image does not load, and the lightbox hangs), simply do the folllowing.

The solution: replace includes/modules/main_product_image.php with the same file from the original file set.

I am not entirely sure what the effect will be to IH2 (since I think that file was one of the ones changed in the IH2 installation) in the long term, but from what I can tell, everything seems to be working.

:clap:

18 Jul 2010, 12:58 AM
#5411
busifans avatar

busifans

New Zenner

Join Date:
Apr 2010
Posts:
2
Plugin Contributions:
0

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

I am sorry that I just meet a problem. because all my site pictures are in another server, I need to change image file directory to that server, but the image handler looks like don't work on my site now when I change the image file directory to that remote server. I want to know how do I modify the program ? thanks.

19 Jul 2010, 1:50 PM
#5412
k8ee avatar

k8ee

New Zenner

Join Date:
Sep 2009
Location:
Ontario, Canada
Posts:
23
Plugin Contributions:
0

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

I always use WinMerge for files that have different code. Except this time as I thought IH2 wouldn't conflict with the template I had installed. In the end it was one line of code that controlled the built in lightbox that comes with the zj_silver_wide template that was being over written and causing the issues. All fixed now though.

Thank you for your help and suggestions!

19 Jul 2010, 6:55 PM
#5414
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

This is an incorrect assumption to make.. Going forward you should always compare the files in any module you install against the files already existing in your store..

ANYTIME a module has Zen Cart files which are identical to files already existing in your cart, it usually means that there have been modifications made which are required for the module to work. I use Beyond Compare to compare the files in ANY module I install to help minimize modules overwriting other modules..

Glad it all worked out..:smile:

k8ee:

I always use WinMerge for files that have different code. Except this time as I thought IH2 wouldn't conflict with the template I had installed. In the end it was one line of code that controlled the built in lightbox that comes with the zj_silver_wide template that was being over written and causing the issues. All fixed now though.

Thank you for your help and suggestions!

20 Jul 2010, 1:08 AM
#5415
dbb1 avatar

dbb1

Zen Follower

Join Date:
Jan 2008
Posts:
139
Plugin Contributions:
0

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

I've just installed Image Handler 2 to my 1.3.9d site. Double-checked (and re-downloaded/copied over) all the file locations, but all seems to be in place, per the instructions in the zip archive.

However, when I go to Admin>Tools>ImageHandler to complete the install, I get a "404 Page not found" error (in IE. In Firefox, the error is "No input file specified.").

The only thing I could find related to this was a years-old thread, which indicated SSL or .htaccess issues. I'm not yet set up with SSL, and I've renamed the .htaccess file in the admin folder, as the thread recommended, but no go...

I guess this is the official support thread for ImageHandler; I saw an early post that pointed back to the breakmyzencart site for forum support. Oddly, when I visited that forum, I got a ...404-Page Not Found. :laugh:

Anyone have any ideas what might be causing this issue?

Thanks,
DBB1

20 Jul 2010, 11:00 PM
#5416
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

What version of Image handler 2 did you download, the one on the breakmyzencart is very very out of date, the most up to date version is here

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=117

This is the official support thread as such

Did you have a previous version of IH installed?
if so did you uninstall it first?
How did you check that the files were there on the remote server?
and did you double check the ones in admin?,
if you have access to a file manager on your server via Cpanel double check the files existence using that
404 means the file is not there, if the issue was htaccess then the error would have been different, probably
However if you have set an .htaccess wrong you could be blocking the file sfrom uploading, are there any errors in your ftp clients logs
could you give us a link to your site, we are able to work out some things from the front end

DBB1:

I've just installed Image Handler 2 to my 1.3.9d site. Double-checked (and re-downloaded/copied over) all the file locations, but all seems to be in place, per the instructions in the zip archive.

However, when I go to Admin>Tools>ImageHandler to complete the install, I get a "404 Page not found" error (in IE. In Firefox, the error is "No input file specified.").

The only thing I could find related to this was a years-old thread, which indicated SSL or .htaccess issues. I'm not yet set up with SSL, and I've renamed the .htaccess file in the admin folder, as the thread recommended, but no go...

I guess this is the official support thread for ImageHandler; I saw an early post that pointed back to the breakmyzencart site for forum support. Oddly, when I visited that forum, I got a ...404-Page Not Found. :laugh:

Anyone have any ideas what might be causing this issue?

Thanks,
DBB1

20 Jul 2010, 11:06 PM
#5417
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

DBB1:

However, when I go to Admin>Tools>ImageHandler to complete the install, I get a "404 Page not found" error (in IE. In Firefox, the error is "No input file specified.").

whoops forgot to add
What exactly was the contents of the 404 page, often they tell you the file that is missing or so clue as to what should be there

20 Jul 2010, 11:27 PM
#5418
dbb1 avatar

dbb1

Zen Follower

Join Date:
Jan 2008
Posts:
139
Plugin Contributions:
0

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

nigelt74:

What version of Image handler 2 did you download, the one on the breakmyzencart is very very out of date, the most up to date version is here

Downloaded v2.0 Rev 8b for ZC 1.3.9 from the ZC forum site. I only mentioned breakmyzencart because I was looking anywhere I could for a solution, and was double-checking which site had the most current version (these ZC forum posts can get quite dated; several posts state that breakmyzencart is the place to go for the most current releases, which is obviously no longer true).

nigelt74:

Did you have a previous version of IH installed?
Nope

nigelt74:

How did you check that the files were there on the remote server? and did you double check the ones in admin?
FTP, and yes.

nigelt74:

404 means the file is not there, if the issue was htaccess then the error would have been different, probably
I only mentioned .htaccess because this was an issue for someone with the same error several years ago. I try researching as best I can before posting, and so try any potential solutions given, so I didn't want to leave this stone unturned.

nigelt74:

could you give us a link to your site, we are able to work out some things from the front end
Internal...

By the way, no specifics in the 404 error. Just the standard page not found. I was hoping someone would know what code (file) the Admin>Tools>IH2 install link was calling. I've installed this successfully on other sites, but it's always worked. The only diff is the ZC and IH versions.

Thanks, Nigel!

21 Jul 2010, 12:48 AM
#5419
dbb1 avatar

dbb1

Zen Follower

Join Date:
Jan 2008
Posts:
139
Plugin Contributions:
0

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

Found the issue...

I downloaded again, and just overwrote everything in the admin folder contained in the installation set. I didn't try after each file upload, but suspect it was something with the image_handler.php file, as it contains code comments that suggest it is used for the install/uninstall processes...

21 Jul 2010, 1:40 AM
#5420
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

DBB1:

Downloaded v2.0 Rev 8b for ZC 1.3.9 from the ZC forum site. I only mentioned breakmyzencart because I was looking anywhere I could for a solution, and was double-checking which site had the most current version (these ZC forum posts can get quite dated;** several posts state that breakmyzencart is the place to go for the most current releases**, which is obviously no longer true).Only VERY old posts make this statement.. Recent posts (within the last 2-3 years) would indicate that the place to get the most updated version of IH2 is the Zen Cart downloads section. Tim Kroger hasn't participated in this support thread for a number of YEARS (at least 5 years), and his website's front page even states that he no longer supports this mod..

From Tim's site:

Most up to date versions of image handler modified for current releases of zen-cart can be found in the zen-cart.com download section. As I have no time to take care of this project, the zen-cart community has continued to support and keep image handler up to date.> DBB1:

I downloaded again, and just overwrote everything in the admin folder contained in the installation set. I didn't try after each file upload, but suspect it was something with the image_handler.php file, as it contains code comments that suggest it is used for the install/uninstall processes...I suspect that your previous fileset was either corrupted or just outdated files (from the breakmycart.com site) All in all, I'm glad you got it all straightened out.. :smile: