Re: Image Handler 2 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:
Re: Image Handler 2 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..
Quote:
Originally Posted by
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:
Re: Image Handler 2 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.
Re: Image Handler 2 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!
Re: Image Handler 2 Support
The Rev8b of Image Handler 2 is now available in the downloads section!!
http://www.zen-cart.com/index.php?ma...roducts_id=117
Re: Image Handler 2 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:
Quote:
Originally Posted by
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!
Re: Image Handler 2 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
Re: Image Handler 2 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?ma...roducts_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
Quote:
Originally Posted by
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
Re: Image Handler 2 Support
Quote:
Originally Posted by
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
Re: Image Handler 2 Support
Quote:
Originally Posted by
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).
Quote:
Originally Posted by
nigelt74
Did you have a previous version of IH installed?
Nope
Quote:
Originally Posted by
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.
Quote:
Originally Posted by
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.
Quote:
Originally Posted by
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!