If this is your first visit, check our documentation. To post, register or login.
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

Started by timkroeger on 17 May 2006, 11:27 AM · Views: 2,513,738

Results 261 to 280 of 7,094
3 Sep 2006, 5:44 PM
#261
timeril avatar

timeril

New Zenner

Join Date:
Sep 2006
Posts:
11
Plugin Contributions:
0

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

Hi all,

I'm getting an error message when attempting to upload images:

Unable to upload default image file.

I searched this thread for the error and it's come up before, but I wasn't able to find a solution. Any thoughts would be SO appreciated! We're unable to add any more products to our website until we get this fixed.

Thanks in advance! :wacko:

Tim
thetoyboat.com

4 Sep 2006, 9:55 AM
#262
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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

Use the new v1.3.5 html_output file. The rest should be fine. The IH2 changes for html_output.php are already integrated into 1.3.5 for several reasons including convenience, but also validation benefits.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Sep 2006, 10:39 AM
#263
radish avatar

radish

New Zenner

Join Date:
Jan 2006
Posts:
67
Plugin Contributions:
0

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

Hello,

I'm in the process of trying to finish my cart and get the hang of Image Handler (which is an amazing contribution!) but I'm running into IE errors. I'm getting this JS error when mousing over images:

'clientY is null or not an object'

I've read about the change from 'pageY' to 'clientY' but as you can see that didn't seem to fix the problem.

I've upgraded to 1.3.5 and used the html_output file from the new ZC release.

On a lesser note, my small pics in my product listings as well as my main product pic doesn't show a popup. I've read several pages of posts, but I can't seem to find a problem.

Here's an example of what I'm talking about:

http://www.radish.ca/index.php?main_page=product_info&cPath=1&products_id=1

I apologize in advance if the solution was in one of the threads, i'm hella tired right now!

I really appreciate the help.

Cheers,

Colin

4 Sep 2006, 2:50 PM
#264
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

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

Hello there,

Just upgraded to 1.35. So far, I am only having this problem relating to IH:-

Warning: preg_match() [function.preg-match]: Unknown modifier 'h' in
/home/thegemtr/public_html/includes/classes/bmz_image_handler.class.php on
line 97

it keeps repeating, here for example:-

http://www.thegemtree.com/index.php?main_page=index&cPath=28

Many thanks.

4 Sep 2006, 3:01 PM
#266
joostvdl avatar

joostvdl

New Zenner

Join Date:
Nov 2005
Posts:
23
Plugin Contributions:
0

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

I updated the IH 2.0 specialy for 1.3.5. I removed the html_output.php and duplicate images. So this ZIP file is 1.3.5 ready.

Zip moved to downloads area.

4 Sep 2006, 3:37 PM
#267
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

joostvdl:

I updated the IH 2.0 specialy for 1.3.5. I removed the html_output.php and duplicate images. So this ZIP file is 1.3.5 ready.

Can you please elaborate more what you mean by "removed duplicate images"? Thanks!

4 Sep 2006, 5:34 PM
#268
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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

BlessIsaacola:

Can you please elaborate more what you mean by "removed duplicate images"? Thanks!
Judging by the zip contents, it appears there are no changes to images, but they left an extra file in the zip which is useless to you unless you have shell/telnet access to your server and comprehend how to use patch/diff tools: "category_product_listing.php.patch"

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Sep 2006, 6:29 PM
#269
sc0tt avatar

sc0tt

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

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

Help: http://legendsgallery.net/index.php?main_page=product_info&cPath=2_213_104&products_id=190

this was working just perfectly, but now, with only a week before this client starts regional advertising, this happened.

I'm broke too, but donate anything! If we all do, the ZC folks will be able to pledge more time to supporting us!!! :)

5 Sep 2006, 8:08 AM
#271
ctc avatar

ctc

New Zenner

Join Date:
Jun 2006
Location:
Brisbane, Australia
Posts:
25
Plugin Contributions:
0

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

ctc:

Hi everyone,

I know other people have had this same problem but I can't seem to find an answer anywhere and am getting very frustrated lol...

I have installed IH2 with Zencart 1.3.0.1 - Use Proportional Images is set to 1 and IH resize images is turned on, but it doesn't seem to be resizing them! The file sizes for thumbnails are the same as for medium and large versions - the main reason we wanted to use IH2 was to try and help us reduce file sizes for thumbnails without having to go through all the products and manually make smaller images and upload them one by one...

https://www.bunkerminiatures.com if anyone needs to have a look.

If I can get an answer or some help or even a page number to look at in this thread I would be most grateful!

Christian

And just like that my post is pushed off the page again lol...can anyone help me with this? I've tried so many times now and still haven't got an answer :cry:

Christian

5 Sep 2006, 8:17 AM
#272
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

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

This is just a guess but it could be something to do with your images being in subdirectories and IH2 being installed AFTER the images were uploaded.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

6 Sep 2006, 1:23 AM
#273
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

joostvdl:

I updated the IH 2.0 specialy for 1.3.5. I removed the html_output.php and duplicate images. So this ZIP file is 1.3.5 ready.

Zip moved to downloads area.

You're missing the closing tag ?> in \includes\modules\additional_images.php

6 Sep 2006, 1:27 AM
#274
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

Okay, I am confused, can someone that knows what they are doing please verify if \includes\modules\additional_images.php should have ?> at the end of the file or not. I just noticed that Tim's original file is missing the ?> at the end too.

Okay \includes\modules\main_product_image.php is also missing the ?> tag at the end. Is this normal?

As well as \image-handler_2.0-zc135\includes\modules\pages\popup_image\header_php.php

6 Sep 2006, 1:53 AM
#275
sc0tt avatar

sc0tt

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

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

getyourgameshere.com:

whats wrong with it? looks fine to me..

 Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eed557f4f0ed17fffc2d1b44f0c8c042.image.93x100.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/e670cff6e97260a511e6be0c287114d6.image.74x80.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/e4126b9a0cc7bd0d3f04969f107a29ad.image.37x40.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/e371245a4633dbcdedb9a52b758f92e8.image.100x79.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eb3f4867e96ce25c571c5fdb4285f57e.image.32x40.png.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eb3f4867e96ce25c571c5fdb4285f57e.image.57x72.png.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eed557f4f0ed17fffc2d1b44f0c8c042.image.74x80.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e.

I appear to have lost files form the bmz_cache directory completely or the permissions are no longer 775 - which they were. I uninstalled FrontPage extensions thinking that it wasn't playing nice with the Linux box the site lives on. But it worked for months - and suddenly it's broken all over the place.

My FTP client doesn't seem to like the Web GUI I get to effect permission changes on the server itself and I am truly at my end with this. Can someone please help me repair Image Handler?

I'm broke too, but donate anything! If we all do, the ZC folks will be able to pledge more time to supporting us!!! :)

6 Sep 2006, 2:02 AM
#276
sc0tt avatar

sc0tt

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

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

getyourgameshere.com:

whats wrong with it? looks fine to me..

 Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eed557f4f0ed17fffc2d1b44f0c8c042.image.93x100.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/e670cff6e97260a511e6be0c287114d6.image.74x80.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/e4126b9a0cc7bd0d3f04969f107a29ad.image.37x40.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/e371245a4633dbcdedb9a52b758f92e8.image.100x79.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eb3f4867e96ce25c571c5fdb4285f57e.image.32x40.png.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eb3f4867e96ce25c571c5fdb4285f57e.image.57x72.png.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf/eed557f4f0ed17fffc2d1b44f0c8c042.image.74x80.jpg.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e/_vti_cnf.
Error Couldn't delete /hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/e.
Warning: imagepng(): Unable to open '/hsphere/local/home/q1w2e3r4/legendsgallery.net/bmz_cache/0/060c344c412d42e29c179f9fd4fd6a8c.image.32x40.png' for writing in /hsphere/local/home/q1w2e3r4/legendsgallery.net/includes/classes/bmz_image_handler.class.php on line 646

I appear to have lost files form the bmz_cache directory completely or the permissions are no longer 775 - which they were. I uninstalled FrontPage extensions thinking that it wasn't playing nice with the Linux box the site lives on. But it worked for months - and suddenly it's broken all over the place.

My FTP client doesn't seem to like the Web GUI I get to effect permission changes on the server itself and I am truly at my end with this. Can someone please help me repair Image Handler?

I'm broke too, but donate anything! If we all do, the ZC folks will be able to pledge more time to supporting us!!! :)

6 Sep 2006, 2:11 AM
#277
sc0tt avatar

sc0tt

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

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

I set the /images and the /bmz_cache folders to 775 and nothing becomes that when I upload a new product image batch to the site. They all become unwritable and I cannot figure out why. GD this is frustrating.

anyone care to login and find out what's going on?

I'm broke too, but donate anything! If we all do, the ZC folks will be able to pledge more time to supporting us!!! :)

6 Sep 2006, 2:29 AM
#278
sc0tt avatar

sc0tt

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

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

Here's a screenshot of the issue. This shot is of the admin panel side of the problem. whenever the same error appears in the white space above the actual product images within this screenshot, that means that client-side is hosed too. This screenshot shows a product with no client-side consequences, but is still screwed up.

At this point, I cannot use image handler at all on this site - it is simply unusable until this is repaired.

http://netgeared.com/error.JPG

I'm broke too, but donate anything! If we all do, the ZC folks will be able to pledge more time to supporting us!!! :)

6 Sep 2006, 3:12 AM
#279
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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

BlessIsaacola:

Okay, I am confused, can someone that knows what they are doing please verify if \includes\modules\additional_images.php should have ?> at the end of the file or not. I just noticed that Tim's original file is missing the ?> at the end too.Tim likes to leave the closing ?> out of the file since it's optional and prevents some potential white-space errors that occasionally happen if people edit their files directlyon their webserver or with a junky editor.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Sep 2006, 3:16 AM
#280
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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

Your problems are related to permissions.

If the bmz_cache folder and all its subfolders are not read/write, then IH cannot write to them, thus the image-caching functionality will not work for you.

If your host is configured to reset permissions below 777, then you will keep beating your head against the wall every time it auto-resets things on you.

The notes sc0tt made regarding errors deleting by FTP stem from the fact that when Apache creates the cache files, only Apache can delete them, because Apache owns them ... not you. I believe that's one reason why Tim added the cache-purge feature, so that you can have Apache do the deletes for you.

Granted, if your server is resetting permissions so that Apache cannot write or delete, you're still out of luck.

Talk to your host.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.