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

Results 6,161 to 6,180 of 7,094
26 Dec 2010, 10:53 PM
#6161
danielinfresno avatar

danielinfresno

New Zenner

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

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

bmz is 755 and images is 777... i cant seem to change them.. but probably can have it done...

Question: does that affect the actual install of the IH2? And to confirm that I DO see the pink circle... that means it is NOT installed?

Also: The error debugging tool I added to the local dir... shows up on the live site.. but not behind the scenes when I try to click the install link in admin... it just goes to blank page... no error shows.

Thank you!

26 Dec 2010, 11:16 PM
#6162
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

DanielInFresno:

bmz is 755 and images is 777... i cant seem to change them.. but probably can have it done...Again.. Please check with your host for instructions on changing file/folder permissions

DanielInFresno:

Question: does that affect the actual install of the IH2?May not affect install (unless your entire admin is set to 444 permissions) but it could affect functionality.

DanielInFresno:

And to confirm that I DO see the pink circle... that means it is NOT installed?It seems PARTIALLY installed.. I mis-read your previous post (meaning I thought you said you did NOT see the order list icon)

DanielInFresno:

Also: The error debugging tool I added to the local dir... shows up on the live site.. but not behind the scenes when I try to click the install link in admin... it just goes to blank page... no error shows.Please re-read the instructions for using the error logging tool again.. If you are using is correctly your store will generate an error log file. For Zen Cart v1.3.9 this is built in and the log files will be found in your store's cache folder.. (log files will be generated whenever the store kicks off an error - like when you get a blank page) Need to know what this error message is to know why you are getting the blank page when you click the IH2 install link.. In case it's not clear (and the FAQ for the error logging tool does cover this) the error message is IN THE LOG FILE...

From the FAQ

2. Have you created any syntax errors in your customizations?

A PHP syntax error will very often result in a blank screen, or a partially-blank screen.
When this happens, there is often also an entry in the server's errorlog, which you can often view via your hosting control panel area.
a) Turn on debug logging to store errors to a log file

Install the Debug Error-Logging Utility (note: this is ALREADY installed in v1.3.9x)

One way to identify what PHP errors are happening, especially if you have no access to server errorlogs, is to use the Debug Error-Logging Tool from our downloads area. It's a simple install, and can expose the source of your problems fairly quickly. Click {here} to download it. (note: it's already installed in v1.3.9x)

If you're dealing with blank admin pages, for the upload destination, substitute the /admin/includes/extra_configures folder instead of /includes/extra_configures where mentioned in the instructions.

The debug tool will create files in your /cache/ folder, named "myDebug-xxxxxx.log" (or "myDebug-adm-xxxxxxx.log" if they are from the admin side).
You'll want to read the contents of these files to see what the actual PHP errors are.

Then search this FAQ area for your error message and/or see the "Dealing with Error Messages" section, below ...

26 Dec 2010, 11:54 PM
#6163
danielinfresno avatar

danielinfresno

New Zenner

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

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

For some reason... I am just not seeing any error files - none were generated.... I have seen them before in the cache folder... not this time... SO...

I took the advice of your posts, re-read tutorial... re-downloaded the program... re FTP up, and I clicked on install... viola.. there it is... installed.

Now I will try it out... I just hope I can have my images in different folders... we have 2500 products, so I do a dir for every manufacturer.

I hope I do not have to rename them all... i have a normal .jpg for large, and a _sm.jpg for small.

Holiday blessings to you all, and thank you for your help!

27 Dec 2010, 12:00 AM
#6164
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

As I often state, issues with installs are GENERALLY caused by erroneous installs.. Whether that's because a file was missed, a folder was not properly renamed, or corrupted in a download or FTP upload.. It always goes BACK to the install.. sigh

Good luck.. PLEASE read the readme file and this support thread to figure out the BEST way to configure IH2 to convert your existing images.. Many of the most commonly asked questions are indeed covered here and in the readme..

DanielInFresno:

For some reason... I am just not seeing any error files - none were generated.... I have seen them before in the cache folder... not this time... SO...

I took the advice of your posts, re-read tutorial... re-downloaded the program... re FTP up, and I clicked on install... viola.. there it is... installed.

Now I will try it out... I just hope I can have my images in different folders... we have 2500 products, so I do a dir for every manufacturer.

I hope I do not have to rename them all... i have a normal .jpg for large, and a _sm.jpg for small.

Holiday blessings to you all, and thank you for your help!

27 Dec 2010, 4:52 AM
#6165
donhohler avatar

donhohler

New Zenner

Join Date:
Aug 2009
Posts:
19
Plugin Contributions:
0

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

DivaVocals:

If there was a javascript issue with Image Handler, the image hover would not work.. The Image Handler javascript's only job is to manage the image hover effects.

The issue you are having is with the main product image popup which uses and inline javascript to function. So no, I do not think there is a javascript conflict. However IF there is one (which again I do not think is the case), the author of the Google Analytics module might be in a better position to know if this is the case.

The additional product images and main product images have module overrides in the Image Handler fileset which manage those two functions. Your setup doesn't appear to have all the required IH2 code for the main product images. It appears that Image Handler is NOT managing your main product images. A look at your store still shows the default Zen Cart image URL for your main product image.

If I mouseover the main product image the URL shows as
javascript:popupWindow('http://yourdomain.com/index.php?main_page=popup_image&pID=27275')

When it should look something like ths:
http://yourdomain.com/bmz_cache/1/184771a9f3ea3bda364748cda80d54a5.image.414x550.jpg

Your product listing images appear to be managed by Image Handler.
http://www.madisontractor.com/bmz_cache/7/7a969c86d35ed3bab2b64d0e719fe447.image.100x68.jpg

So it still appears that something is not installed correctly.. A javascript issue would not cause this behavior but, a missed or incorrectly merged IH2 file would.. The only other POSSIBLE option is that your template has code in the same files that Zen Cart overrides which is causing the issue.. (your template appears to be a Template Monster template -- you may not have purchased it from TM.. you may have purchased from one of their affiliates)

I have set Google analytics module to use ga.js instead of asynchronous and the main product image now uses the correct code. So, everything is installed correctly. I have triple checked every file. Something with that module is interfering with Image Handler.

27 Dec 2010, 2:33 PM
#6166
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

donhohler:

I have set Google analytics module to use ga.js instead of asynchronous and the main product image now uses the correct code. So, everything is installed correctly. I have triple checked every file. Something with that module is interfering with Image Handler.
Sounds like you have a workable solution.. I'd like to get to the bottom of this though..

Check in with the Simple Google Analytics author.. He's SUPER nice.. Perhaps he can provide some insight or a hint as to what MIGHT be in conflict with the new asynchronous code.. I don't have that module installed on my test store, and the only store I have Simple Google Analytics installed on uses the version RIGHT before the current one with the new asynchronous code.. If there is an issue with it, then there will be others reporting the same conflict..

Also though the main product image pop-up works now, your main product images still are not being managed by IH2.. The main product images are not being cached by IH2.. (which leads me to the possibility that your template may have code which is over-writing IH2..)

27 Dec 2010, 10:15 PM
#6167
donhohler avatar

donhohler

New Zenner

Join Date:
Aug 2009
Posts:
19
Plugin Contributions:
0

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

DivaVocals:

Sounds like you have a workable solution.. I'd like to get to the bottom of this though..

Check in with the Simple Google Analytics author.. He's SUPER nice.. Perhaps he can provide some insight or a hint as to what MIGHT be in conflict with the new asynchronous code.. I don't have that module installed on my test store, and the only store I have Simple Google Analytics installed on uses the version RIGHT before the current one with the new asynchronous code.. If there is an issue with it, then there will be others reporting the same conflict..

Also though the main product image pop-up works now, your main product images still are not being managed by IH2.. The main product images are not being cached by IH2.. (which leads me to the possibility that your template may have code which is over-writing IH2..)

What make you say that main product image is not being cached by IH2? It looks like it is to me. Perhaps you got the cached version from before.

27 Dec 2010, 10:36 PM
#6168
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

When I posted that message they weren't being cached by IH2 (I even posted examples I found from your site). Looks like they are cached now..

donhohler:

What make you say that main product image is not being cached by IH2? It looks like it is to me. Perhaps you got the cached version from before.

28 Dec 2010, 3:27 AM
#6169
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

So I popped over to the Simple Google Analytics thread.. seems the blank pop-up IS indeed a Simple Google Analytics error and NOT an issue with IH2 at all.. (and for the record it will probably be an issue with ALL pop-ups, not just the image pop-ups)

This is why it always pays to checkout support threads for all mods involved.. Should you get a blank page error like this in the future, posting the contents of the error logs in your cache folders will be a HUGE help as to the true source of the issue....

Hopefully this pop-up issue will be worked out soon by the Simple Google Analytics author.. (he's super nice so I'm sure he will:smile:)

donhohler:

Zen Cart 1.38a
Image Handler V2.0 Rev 8d

http://www.madisontractor.com/

Update:

I found the issue to to the first problem. I missed renaming a template folder. oops! I removed the changes to: classes/bmz_image_handler.php and all the "onmousovers" work everywhere.

The only problem now is with the product image and additional images popup windows. I am using Simple_Google_Analytics Ver 1.2.3 module. When I run it in asynchronous mode the product image popup window opens but there is no image. If I set analytics to ga.js, it works fine.

I suspect the problem is with the order in which scripts are being loaded or run.

Any help work be GREATLY appreciated!

28 Dec 2010, 11:40 PM
#6170
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

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

I have IH2 2.0 Rev 8d and zen light box installed on zencart 1.3.9d.

The main image still works with lightbox but the additional images are not working with lightbox anymore. Is that normal? Is there a way to get the additional images to work with lightbox again?

28 Dec 2010, 11:52 PM
#6171
danielinfresno avatar

danielinfresno

New Zenner

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

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

Hi, My IH2 seems to be working just fine... I just am trying to find out how to easily have two images with correct names. I have a front and back image for each DVD or CD.

After I load up image-front up... when I add second images (image-back), it becomes "image-Back-front-01"

So I thought I would just get rid of front and back image names, and do image-01 for front and image-02 for the back... so I renamed them, and reloaded them...

I got image-01, and then image-01-02.

I normally have 4 images for products - front.jpg, front_sm.jp, and the backs as well.

Also, I cannot seem to load images from live server where they are, I have to grab them from my harddrive.. it would be nice to just point to them.

Can someone direct me to any aritcles or help with this sort of thing please.

29 Dec 2010, 12:01 AM
#6173
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

buildingblocks:

I have IH2 2.0 Rev 8d and zen light box installed on zencart 1.3.9d.

The main image still works with lightbox but the additional images are not working with lightbox anymore. Is that normal? Is there a way to get the additional images to work with lightbox again?You likely overwrote the files that the lightbox contribution and IH2 both modify with the one from the lightbox contribution effectively replacing the IH2 changes with ONLY the lightbox changes.

You will need to find those common files and using a file merging program (like Winmerge or Beyond Compare) and merge the changes required for both mods into one file and upload them..

29 Dec 2010, 12:11 AM
#6174
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

I think you may not fully be understanding how Zen Cart and IH2 works to create additional product images. In short what you describe is EXACTLY how IH2 and Zen Cart work to manage additional prodct images.

DivaVocals:

IH2 in general is designed to ease the manual processes involved with creating optimized images for shopowners by taking the large product image and creating all the required optimized images needed.

In short it does a LOT of the heavy lifting for shopowners. IH2's functionality is the equivalent to the manual process described in this Zen Cart FAQ:
https://www.zen-cart.com/tutorials/index.php?article=224

You also should look up the terms "additional product images" in the FAQ section.. for more information about how additional product images MUST be named to work correctly with Zen Cart..

DanielInFresno:

Hi, My IH2 seems to be working just fine... I just am trying to find out how to easily have two images with correct names. I have a front and back image for each DVD or CD.

After I load up image-front up... when I add second images (image-back), it becomes "image-Back-front-01"

So I thought I would just get rid of front and back image names, and do image-01 for front and image-02 for the back... so I renamed them, and reloaded them...

I got image-01, and then image-01-02.

I normally have 4 images for products - front.jpg, front_sm.jp, and the backs as well.

Also, I cannot seem to load images from live server where they are, I have to grab them from my harddrive.. it would be nice to just point to them

DanielInFresno:

Can someone direct me to any aritcles or help with this sort of thing please.The readme is the article you are seeking.. The full lowdown on IH2 is in this document..

29 Dec 2010, 12:13 AM
#6175
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 a layout question and TOTALLY off topic for this support thread.. Re-post your question in the layout forum to get a better response..

DanielInFresno:

Also, as a side note...

I would really like to just have the front and back image show up to the left of the product, as well as down at the bottom....

http://www.awmiv.com/index.php?main_page=product_info&cPath=24_25&products_id=1

29 Dec 2010, 12:41 AM
#6176
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

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

DivaVocals:

You likely overwrote the files that the lightbox contribution and IH2 both modify with the one from the lightbox contribution effectively replacing the IH2 changes with ONLY the lightbox changes.

You will need to find those common files and using a file merging program (like Winmerge or Beyond Compare) and merge the changes required for both mods into one file and upload them..

Yep.....thanks......I got it. IH2 modifies 3 core files which lightbox didn't touch but I wasn't checking for an over ride file.

/includes/modules/custom_template/additional_images.php

29 Dec 2010, 3:13 PM
#6177
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

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

Hi, we've migrated to a new server and Im having some issues with IH2.

Its working fine except that any new image i upload for a product does two things;

  • it wont watermark the image
  • the hover image is full size (i.e; 700 x 700 pixels, the largest size image we have)

This is only happening on NEW images, all of the older IH2 images work fine.

I checked the permissions on the bmz_cache directory, the folders are all 755, but the files are weird; some are 666 and some are 644

Could it be a permissions issue that is stopping IH2 from either caching, creating or watermarking the new image?

Thanks,

Scott.

1 Jan 2011, 5:26 AM
#6178
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

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

When does compression occur for large images? My uploaded large image is not compressed **during **uploaded, nor is it **stored **w/ compression. I am not sure if it is **served **with compression, because I can't get image properties out of the lightbox, but I'm just wondering then, when are the large images **ever **compressed according to the large image compression setting for IH. thank you.

1 Jan 2011, 8:13 PM
#6179
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

finlander:

When does compression occur for large images? My uploaded large image is not compressed **during **uploaded, nor is it **stored **w/ compression. I am not sure if it is **served **with compression, because I can't get image properties out of the lightbox, but I'm just wondering then, when are the large images **ever **compressed according to the large image compression setting for IH. thank you.
Images are compressed when they are written to the image cache.. Your original images stay intact..

1 Jan 2011, 8:32 PM
#6180
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

We need the usual compliment of information that we always ask for here..

  • Link to your site (specifically links DIRECTLY to the products which work correctly and links to the ones that don't)
  • What are you image settings??

Scott_C:

Hi, we've migrated to a new server and Im having some issues with IH2.

Its working fine except that any new image i upload for a product does two things;

  • it wont watermark the image
  • the hover image is full size (i.e; 700 x 700 pixels, the largest size image we have)

This is only happening on NEW images, all of the older IH2 images work fine.

I checked the permissions on the bmz_cache directory, the folders are all 755, but the files are weird; some are 666 and some are 644

Could it be a permissions issue that is stopping IH2 from either caching, creating or watermarking the new image?

Thanks,

Scott.