Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 3 Support Thread (for ZC v1.3.9)

Image Handler 3 Support Thread (for ZC v1.3.9)

Views: 180,267

Results 421 to 440 of 1,099
19 Aug 2011, 12:55 PM
#421
divavocals avatar

divavocals

Totally Zenned

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

Image Handler 3 Support Thread (for ZC v1.3.9)

PROpheT:

hi and sorry,

see attachment. Preview page Image handler in admin section. Permissions for directories were defined in two different FTP clients. All files are there.

Image handler works on my local machine, but not on my site.

sigh

Please provide as MUCH information as possible including:

  • The version of Zen Cart you are running
  • The version of Image Handler 3 you are running (you can see this by going to “Admin > Tools > Image Handler3” – the version is displayed in the upper left hand side)
  • Any other add-ons you may have also installed
  • Hosting/server information (PHP versions, mySQL versions, hosting provider etc)
  • The EXACT error/issue you are experiencing
  • AND if you're REALLY detail oriented, tell us the install sequence/method you used to install Image Handler 3.
  • Post a link (not a screen print) to a specific product/product listing page where the issue you are experiencing can be seen (Please DO NOT make folks fish through your site looking for an example of your issue)


AND this last point is important.. The volunteers who help here need to SEE what you see LIVE. A screenprint really isn’t good enough.
Additionally you have not answered ANY of nigel's questions.. If you are asking for help, it would HELP to provide the information we need to help you.. Otherwise I'm not sure what you are expecting from the volunteers here..

nigelt74:

adding to what Diva says, we do need to see the page!

  1. Does the image show in other browsers
  2. Are the other product images on the site working
  3. Does the original image have an uppercase file extension eg image.JPG, and what happens if you replace the image with one with a lowercase extension
  4. Did the image show before installing Image handler?
  5. What happens if you change

Admin --> configuration --> IH small images filetype

from no_change to jpg

and do the same for

Admin --> configuration --> IH medium images filetype
Admin --> configuration --> IH medium large filetype

21 Aug 2011, 12:44 PM
#422
ashleyng2 avatar

ashleyng2

New Zenner

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

Hi guys

I'm experiencing a 500 internal error with my site caused by this module. Products prior to this module are working correctly.

Also my admin/image_handler.php page is blank (500 internal error page). I have gone through the readme again and usage instructions and can't spot anything I've done wrong. Have reuploaded this file and its still the same, I'm guessing my problems are stemming from this.

Any ideas??

Working Link: hawaiian-shirts.co.uk/hawaiian-shirts/blue-surfing-in-hawaii
Error page: hawaiian-shirts.co.uk/hawaiian-shirts/ <-- doesn't work as it includes new products which have error.

This also caused a 500 error on the front page as it displayed new products, I've had to remove that for the meantime.

Thanks.

EDIT: Btw, no error logs in /cache or cpanel error logs and my /bmz_cache contains files/folders

21 Aug 2011, 1:06 PM
#423
ashleyng2 avatar

ashleyng2

New Zenner

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

My temporary fix is to disable Image Handler by setting IH resize image to no.

Below are my current configurations with IH disabled, if anybody can point out any mistakes I've made that would be great. Thanks.

Small Image Width - 100
Small Image Height - 0
Heading Image Width - Admin - 57
Heading Image Height - Admin - 40
Subcategory Image Width - 100
Subcategory Image Height - 57
Calculate Image Size - true
Image Required - true
Image - Shopping Cart Status - 1
Image - Shopping Cart Width - 50
Image - Shopping Cart Height - 40
Category Icon Image Width - Product Info Pages - 57
Category Icon Image Height - Product Info Pages - 40
Top Subcategory Image Width - 150
Top Subcategory Image Height - 0
Product Info - Image Width - 150
Product Info - Image Height - 0
Product Info - Image Medium Suffix - _MED
Product Info - Image Large Suffix - _LRG
Product Info - Number of Additional Images per Row - 3
Image - Product Listing Width - 100
Image - Product Listing Height - 0
Image - Product New Listing Width - 100
Image - Product New Listing Height - 0
Image - New Products Width - 100
Image - New Products Height - 0
Image - Featured Products Width - 100
Image - Featured Products Height - 0
Image - Product All Listing Width - 100
Image - Product All Listing Height - 0
Product Image - No Image Status - 1
Product Image - No Image picture - no-shirt-image.gif
Image - Use Proportional Images on Products and Categories - 1
IH resize images - no
IH small images filetype - jpg
IH small images background - transparent
IH small images compression quality - 50
IH small images watermark - no
IH small images zoom on hover - yes
IH small images zoom on hover size - Medium
IH medium images filetype - jpg
IH medium images background - transparent
IH medium images compression quality - 80
IH medium images watermark - no
IH large images filetype - jpg
IH large images background - transparent
IH large images compression quality - 85
IH large images watermark - no
IH large images maximum width -
IH large images maximum height - 450
IH watermark gravity - Center

21 Aug 2011, 3:58 PM
#424
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

Most likely it is either a permissions error or an error with a corrupted .htaccess file..

Interference with an .htaccess file

If you have implemented .htaccess on your site, it may be interfering with the web page you are trying to load into your browser. Please double check the .htaccess configurations to ensure that it doesn’t contain any errors.
To confirm whether a misconfiguration .htaccess is the cause of the 500 Internal Server error, either remove or rename the .htaccess file temporarily and then try to reload the page.

Using your FTP software delete EVERYTHING in your bmz_cache folder and rename the .htaccess file (remove theleading "." and rename it to something like htaccess.txt)

Check your folder permissions for the bmz_cache folder.
Check the permissions of the folders/files IH3 generates within the bmz_cache folder. If there are permissions error you may have to work with your hosting company. (See recent posts here on this matter)

AshleyNG2:

Hi guys

I'm experiencing a 500 internal error with my site caused by this module. Products prior to this module are working correctly.

Also my admin/image_handler.php page is blank (500 internal error page). I have gone through the readme again and usage instructions and can't spot anything I've done wrong. Have reuploaded this file and its still the same, I'm guessing my problems are stemming from this.

Any ideas??

Working Link: hawaiian-shirts.co.uk/hawaiian-shirts/blue-surfing-in-hawaii
Error page: hawaiian-shirts.co.uk/hawaiian-shirts/ <-- doesn't work as it includes new products which have error.

This also caused a 500 error on the front page as it displayed new products, I've had to remove that for the meantime.

Thanks.

EDIT: Btw, no error logs in /cache or cpanel error logs and my /bmz_cache contains files/folders

21 Aug 2011, 5:16 PM
#425
ashleyng2 avatar

ashleyng2

New Zenner

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

Thanks for looking into this for me. I've tried as you suggested and deleted everything in bmz_cache and renamed htaccess but still no fix. Contents of bmz_cache are coming through as CHMod 755 --- would that cause the 500 error?

DivaVocals:

Most likely it is either a permissions error or an error with a corrupted .htaccess file..

Using your FTP software delete EVERYTHING in your bmz_cache folder and rename the .htaccess file (remove theleading "." and rename it to something like htaccess.txt)

Check your folder permissions for the bmz_cache folder.
Check the permissions of the folders/files IH3 generates within the bmz_cache folder. If there are permissions error you may have to work with your hosting company. (See recent posts here on this matter)

21 Aug 2011, 6:30 PM
#426
darkangel avatar

darkangel

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

AshleyNG2:

Thanks for looking into this for me. I've tried as you suggested and deleted everything in bmz_cache and renamed htaccess but still no fix. Contents of bmz_cache are coming through as CHMod 755 --- would that cause the 500 error?

try chmodding it to 777 and see if that helps

Are you sure that you put all files into their proper places and used the one that is common for both lightbox/ih3 (using the one from lightbox v6

I was wondering -- at first I thought lightbox was not working then I see that the image is huge...is that your intention or did you not set a size in its configuration too.

21 Aug 2011, 9:02 PM
#427
ashleyng2 avatar

ashleyng2

New Zenner

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

I've chmodding the folder and all containing files to 777 but it still did not make a difference.

I do not think its an issue with lightbox as it also caused a 500 internal error on my front page when products which have had its images through IH are shown in the featured products box.

Regarding the HUGE images, that was what they were uploaded as, IH would have solved this using the sizes I specified in the config but as I've disabled it for now (until this is resolved). Will have to manually edit the images if I can't solve this.

Thank you for looking at this too! :bigups:

DarkAngel:

try chmodding it to 777 and see if that helps

Are you sure that you put all files into their proper places and used the one that is common for both lightbox/ih3 (using the one from lightbox v6

I was wondering -- at first I thought lightbox was not working then I see that the image is huge...is that your intention or did you not set a size in its configuration too.

21 Aug 2011, 9:52 PM
#428
nigelt74 avatar

nigelt74

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

AshleyNG2:

Regarding the HUGE images, that was what they were uploaded as, IH would have solved this using the sizes I specified in the config but as I've disabled it for now (until this is resolved). Will have to manually edit the images if I can't solve this.

No, Image handler is basically a php script, most people don't upload massive image over a megabyte (the images you have are photographic quality not web optimised), in all likelyhood image handler is choking (timing out) on the sheer size of the images/ one of your images is 1.3 MB (1,305,878 bytes) in size,

Basically what you could try is, saving those images for the web normally that would mean they are about 10-20% of the filesize but they still look the same on a monitor.

Image handler will create all 3 sizes but the problem is "possibly" that the raw file is so big that the script is timing out before completeing.

This does happen ocasionally and it is normally down to either really large raw files or something corrupted

What version of Imagehandler are you using, and what version of Zencart?

Did you get the admin/imagehandler.php page working, because this is where image handler is installed from, and from what you say you seem to have installed it

edit---------------------------------------------------------------------------
4)
What errors are showing in the /cache folder in the rot of your site
note the errors will be in the /cache folder not the /bmz_cache folder

21 Aug 2011, 9:53 PM
#429
darkangel avatar

darkangel

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

AshleyNG2:

I've chmodding the folder and all containing files to 777 but it still did not make a difference.

I do not think its an issue with lightbox as it also caused a 500 internal error on my front page when products which have had its images through IH are shown in the featured products box.

Regarding the HUGE images, that was what they were uploaded as, IH would have solved this using the sizes I specified in the config but as I've disabled it for now (until this is resolved). Will have to manually edit the images if I can't solve this.

Thank you for looking at this too! :bigups:

please try checking once more to see that all files for IH3 were manually uploaded to their correct folders.

then go to admin/tools/ih3/admin link and not only clear the cache but uninstall it. then install it again...sometimes that helps.

I have 1200x1200 images in some spots in my store and they even without ih any version at the time were showing properly in the light box window...may be a setting that is wrong cause there should be no 500 error if things are cmodded and uploaded properly...

you might even while checking reupload the files one at a time again...they sometimes get into a web hiccup and corrupt just a bit.

22 Aug 2011, 2:54 AM
#430
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

AshleyNG2 wrote

I've chmodding the folder and all containing files to 777 but it still did not make a difference.

I don't know if this is same problem I had back in IH2 - the chmod settings I was using were creating errors because they were at odds with settings my server required for security reasons.

At the time I found this code modification of admin/includes/ih_manager.php

http://www.zen-cart.com/forum/showthread.php?t=35913 reply#3809

Merging the 3 chmod ref bits of code resolved the conflict for my situation.

I carried those changes over to IH3 when I upgraded. (I confess I did not try IH3 without those changes.)

22 Aug 2011, 7:55 AM
#431
prophet avatar

prophet

New Zenner

Join Date:
Mar 2011
Posts:
5
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

That was not much pretty with these big ugly red words, but whatever.

So, about your comments:

  1. how can I post a link to my admin page? :)
  2. on screenshot, there are IH version, ZC version and oh, of course, the fact, that it is an admin page...
  3. Options in Configuration->Images are affected only on eshop pages, not in admin page (maybe I am wrong).

there is a problem with IH resize image, that posted AshleyNG2 (I disabled this option and images now displayed on product pages), but not in admin page.

soxophoneplayer: I tried, but no effect.

22 Aug 2011, 2:57 PM
#432
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

Since none of us can see the backend files that make up your store we can only help troubleshoot based on what we can see (your store).. A screen shot of your admin doesn't really provide any information. There is a LOT that we can acertain from seeing the site.. Without a link to the website where you are having the issues at it's hard for us to GUESS at what the issue might be... So the information we ask for is to help us help you..

PROpheT:

That was not much pretty with these big ugly red words, but whatever.

So, about your comments:

  1. how can I post a link to my admin page? :)
  2. on screenshot, there are IH version, ZC version and oh, of course, the fact, that it is an admin page...
  3. Options in Configuration->Images are affected only on eshop pages, not in admin page (maybe I am wrong).

there is a problem with IH resize image, that posted AshleyNG2 (I disabled this option and images now displayed on product pages), but not in admin page.

soxophoneplayer: I tried, but no effect.

23 Aug 2011, 9:25 AM
#433
prophet avatar

prophet

New Zenner

Join Date:
Mar 2011
Posts:
5
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

My test site: http://www.syva.sk/eshop_test/
When I disabled IH resize image option, images are displayed on product pages, but not in admin page. Also, when this option is set to NO, images zoom on hover doesnt work.

24 Aug 2011, 7:45 PM
#434
ashleyng2 avatar

ashleyng2

New Zenner

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

Thank you to all of your trying to help me. Over the weekend I will reupload the files folder-by-folder to make sure it all goes through.

I am using ZenCart 1.3.9h and IH3.0.

I'll let you guys know how it goes probably on Sunday!!

Cheers :wink:

nigelt74:

No, Image handler is basically a php script, most people don't upload massive image over a megabyte (the images you have are photographic quality not web optimised), in all likelyhood image handler is choking (timing out) on the sheer size of the images/ one of your images is 1.3 MB (1,305,878 bytes) in size,

Basically what you could try is, saving those images for the web normally that would mean they are about 10-20% of the filesize but they still look the same on a monitor.

Image handler will create all 3 sizes but the problem is "possibly" that the raw file is so big that the script is timing out before completeing.

This does happen ocasionally and it is normally down to either really large raw files or something corrupted

What version of Imagehandler are you using, and what version of Zencart?

Did you get the admin/imagehandler.php page working, because this is where image handler is installed from, and from what you say you seem to have installed it

edit---------------------------------------------------------------------------
4)
What errors are showing in the /cache folder in the rot of your site
note the errors will be in the /cache folder not the /bmz_cache folder

24 Aug 2011, 10:39 PM
#435
nigelt74 avatar

nigelt74

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

Prophet

If it works on your local machine but not on the server then that normally means a server issue rather than an imagehandler or Installation problem, so you need to try and work out what the difference is,

Have you tried the below as previously asked?

nigelt74:

  1. Does the original image have an uppercase file extension eg image.JPG, and what happens if you replace the image with one with a lowercase extension
  2. Did the image show before installing Image handler?
  3. What happens if you change

Admin --> configuration --> IH small images filetype

from no_change to jpg

and do the same for

Admin --> configuration --> IH medium images filetype
Admin --> configuration --> IH medium large filetype

Other things to try (most of these have worked for various people in the past, normally these ones are caused by weird server things that we can't replicate, or at least i can't, possibly a combination of folder ownership and permissions)

  1. try deleting the .htaccess file in the /bmz_cache folder, does this make a difference?
    -- if not re-upload it
    -- If it does try copying the .htaccess from images (or creating a new one, ask us how or copy contents from existing one)

  2. Delete the entire bmz_cache folder, and create a new one using cpanel or your hosting provided file manager (Check permissions are set right)

  3. Are files being created in the bmz_cache? and can you view them in your browser? via a direct link and if so can you provide
    a) a direct link to a file in the bmz_cache
    b) a direct link to the source image file in the images folder
    c) a link to the product it is supposed to display for

25 Aug 2011, 8:14 AM
#436
prophet avatar

prophet

New Zenner

Join Date:
Mar 2011
Posts:
5
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

nigelt74:

  1. If it does try copying the .htaccess from images
    here is the problem. I replaced .htaccess and now everything working.
    thanks
25 Aug 2011, 8:52 PM
#437
idc1 avatar

idc1

Zen Follower

Join Date:
Jul 2011
Posts:
139
Plugin Contributions:
0

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

In need of some help...
LOCAL test server - everything works fine

GODADDY linux server - IH3 acting up

I'm using V1.3.9h, with column grid 1.3.8, dual pricing 1.7, and IH3.

I have tried to delete .htaccess, copy and past .htaccess, clear bz_cache, uninstall & reinstall, checked & rechecked setitngs, etc. What I am noticing is:

admin>config>images>Image - Use Proportional Images on Products and Categories = 1 then
-Product thumbnails are sized correctly and watermarked
-Subcategory Image is not watermarked & the hover over does not work. (please note that the 45 degree watermark is in the original image file and not part of the IH3 functionality) http://skippypagesDOTcom/zen-cart-v1.3.9h-full-fileset-10262010/index.php?main_page=index&cPath=45_1180_108850 (replace" dot " with ".")
-Category Icon Image is a fraction the size it should be and is not watermarked (please note that the 45 degree watermark is in the original image file and not part of the IH3 functionality). http://skippypagesDOTcom/zen-cart-v1.3.9h-full-fileset-10262010/index.php?main_page=index&cPath=45_1180_108850_104150 (replace" dot " with ".")
-again the above worked fine on my xammp test set up.

admin>config>images>Image - Use Proportional Images on Products and Categories = 0 then
-Product thumbnails are sized correctly still,
-No watermarks anywhere (except the 45 degree watermarks in a few of my original image files.)
-Subcategory Image sized appropriately
-Subcategory Image hover over does NOT work
-Category Icon Image is the size it should be (520x375).

Any thoughts out there as to why or if the Image-User Proportional Images on Producst and Categories would cause this?

26 Aug 2011, 1:10 AM
#438
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

None since you gave us only a PORTION of your image settings.. How about posting the rest..

idc1:

In need of some help...
LOCAL test server - everything works fine

GODADDY linux server - IH3 acting up

I'm using V1.3.9h, with column grid 1.3.8, dual pricing 1.7, and IH3.

I have tried to delete .htaccess, copy and past .htaccess, clear bz_cache, uninstall & reinstall, checked & rechecked setitngs, etc. What I am noticing is:

admin>config>images>Image - Use Proportional Images on Products and Categories = 1 then
-Product thumbnails are sized correctly and watermarked
-Subcategory Image is not watermarked & the hover over does not work. (please note that the 45 degree watermark is in the original image file and not part of the IH3 functionality) http://skippypages DOT com/zen-cart-v1.3.9h-full-fileset-10262010/index.php?main_page=index&cPath=45_1180_108850 (replace" dot " with ".")
-Category Icon Image is a fraction the size it should be and is not watermarked (please note that the 45 degree watermark is in the original image file and not part of the IH3 functionality). http://skippypages DOT com/zen-cart-v1.3.9h-full-fileset-10262010/index.php?main_page=index&cPath=45_1180_108850_104150 (replace" dot " with ".")
-again the above worked fine on my xammp test set up.

admin>config>images>Image - Use Proportional Images on Products and Categories = 0 then
-Product thumbnails are sized correctly still,
-No watermarks anywhere (except the 45 degree watermarks in a few of my original image files.)
-Subcategory Image sized appropriately
-Subcategory Image hover over does NOT work
-Category Icon Image is the size it should be (520x375).

Any thoughts out there as to why or if the Image-User Proportional Images on Producst and Categories would cause this?

26 Aug 2011, 1:21 AM
#439
nigelt74 avatar

nigelt74

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

PROpheT:

here is the problem. I replaced .htaccess and now everything working.
thanks

No worries, we see this happen occasionally, and there never seems to be a commonality between the cases, it seems to crop a randomly.

26 Aug 2011, 1:28 AM
#440
nigelt74 avatar

nigelt74

Totally Zenned

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

Re: Image Handler 3 Support Thread (for ZC v1.3.9)

idc1:

-Category Icon Image is the size it should be (520x375).

That image isn't being handled by image handler (it should be though), are you sure all folders have been renamed, there should be 2, one in modules and one in templates.

Also as Diva said post your all your image settings here, if settings are set wrong IH won't handle some of the images

you should just be able to highlight all the settings and cut 'n paste them here as AshlyNG did a few posts back