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

Results 1,521 to 1,540 of 7,094
3 Sep 2007, 10:49 AM
#1521
ryk avatar

ryk

Totally Zenned

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

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

Check your settings in admin > configuration > images

3 Sep 2007, 11:16 AM
#1522
waghelak avatar

waghelak

New Zenner

Join Date:
May 2006
Posts:
63
Plugin Contributions:
0

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

Ryk:

Check your settings in admin > configuration > images

Thanks all sorted. Changed image size from there and worked like a treat. Thanks.

3 Sep 2007, 12:26 PM
#1523
waghelak avatar

waghelak

New Zenner

Join Date:
May 2006
Posts:
63
Plugin Contributions:
0

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

New problem:

When i install image handler, whenever my page loads i get this error, done but with erors on the page. Now this does on every page. If i uninstall it, its fine.

site is https://www.ipvk.co.uk any help. or solutions as to why its doing that.

3 Sep 2007, 12:59 PM
#1524
waghelak avatar

waghelak

New Zenner

Join Date:
May 2006
Posts:
63
Plugin Contributions:
0

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

waghelak:

New problem:

When i install image handler, whenever my page loads i get this error, done but with erors on the page. Now this does on every page. If i uninstall it, its fine.

site is https://www.ipvk.co.uk any help. or solutions as to why its doing that.

right sorted it, realised cos i aint got images as yet i get the error. Added test images and it was fine. might be useful for someone in future to know this.

3 Sep 2007, 1:58 PM
#1525
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

kuroi:

Looks like we're both looking at large image sizes as being what triggers the problem. Though I don't think that this is the whole answer as my client has images that have both bigger dimensions and bigger file sizes than the one that was failing, but which work fine.

Did your approach increase the max sizes to legitimise big files, or decrease them to prevent such files being processed?

I'm suspecting that this is more about the version of the GD library than PHP, though they may be correlated in the bundling.

Kuroi, was tired last night :smile:

Think the real issue resides in memory_limit or a combination of the three.

Increasing the values with an htaccess file helped the issues.

3 Sep 2007, 10:31 PM
#1526
mdotse avatar

mdotse

New Zenner

Join Date:
Mar 2007
Posts:
15
Plugin Contributions:
0

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

Catalyst:

To take out any filename issue I renamed an image to "test.jpg" and tried it, same error.

hmmm......tested with linux and windows apache and thats the fix i found....you get it working?

3 Sep 2007, 11:08 PM
#1527
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

mdotse:

hmmm......tested with linux and windows apache and thats the fix i found....you get it working?

Can you explain the error again?

4 Sep 2007, 3:04 AM
#1528
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

I just started getting this error lately: > PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open '/bmz_cache/b/b59bc33e97b46b45824ae99ae7665add.image.92x100.jpg' for writing: Permission denied /includes/classes/bmz_image_handler.class.php on line 652. I am not sure why what's causing this so if anyone knows please help.

Line 636 - 659 reads:

	function save_imageGD($file_ext, $image, $dest_name, $quality = 75) {
		global $ihConf;
		
		switch (strtolower($file_ext)) {
			case '.gif':
			    if(!function_exists("imagegif")) return false;
				$ok = imagegif($image, $dest_name);
				break;
			case '.png':
			    if(!function_exists("imagepng")) return false;
				$quality = (int)$quality/100;
				$ok = imagepng($image, $dest_name, $quality);
				break;
			case '.jpg':
			case '.jpeg':
			    if(!function_exists("imagejpeg")) return false;
				$ok = imagejpeg($image, $dest_name, $quality);
				break;
			default: $ok = false;
		}
		imagedestroy($image);
	
		return $ok;
	}

and line 652 reads:

$ok = imagejpeg($image, $dest_name, $quality);
4 Sep 2007, 8:30 AM
#1529
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

BlessIsaacola:

I just started getting this error lately: . I am not sure why what's causing this so if anyone knows please help.

Line 636 - 659 reads:

function save_imageGD($file_ext, $image, $dest_name, $quality = 75) {
    global $ihConf;
    
    switch (strtolower($file_ext)) {
        case '.gif':
            if(!function_exists("imagegif")) return false;
            $ok = imagegif($image, $dest_name);
            break;
        case '.png':
            if(!function_exists("imagepng")) return false;
            $quality = (int)$quality/100;
            $ok = imagepng($image, $dest_name, $quality);
            break;
        case '.jpg':
        case '.jpeg':
            if(!function_exists("imagejpeg")) return false;
            $ok = imagejpeg($image, $dest_name, $quality);
            break;
        default: $ok = false;
    }
    imagedestroy($image);

    return $ok;
}
> ```php
$ok = imagejpeg($image, $dest_name, $quality);

Delete all the folders under bmz_cache, then reset image cache from Tools :: Image Handler 2. Check permissions of bmz folder as well just to make sure.

4 Sep 2007, 8:43 AM
#1530
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

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

testuser:

Delete all the folders under bmz_cache, then reset image cache from Tools :: Image Handler 2. Check permissions of bmz folder as well just to make sure.

Do you know how to fix the java scrip bug in my website?

5 Sep 2007, 5:26 PM
#1531
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

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

Hello, I just installed the image-handler_2.0-zc13 and I cant figure out why it isnt working on my test site on a localhost. I installed all files then went to the admin/tools/inage handler2 and then went into the admin for the Image Handler and clicked on install. It then added a + sign to the images on my website but, when I mouse over them nothing happens? I have this installed on a working site and it works just fine and I made a copy of my working site on my localhost and it works fine. I did nothing different that I know of for this one... Any ideas :blink:

Thanks,

6 Sep 2007, 2:19 AM
#1532
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

oxicottin:

Hello, I just installed the image-handler_2.0-zc13 and I cant figure out why it isnt working on my test site on a localhost. I installed all files then went to the admin/tools/inage handler2 and then went into the admin for the Image Handler and clicked on install. It then added a + sign to the images on my website but, when I mouse over them nothing happens? I have this installed on a working site and it works just fine and I made a copy of my working site on my localhost and it works fine. I did nothing different that I know of for this one... Any ideas :blink:

Thanks,

I've noticed the same as well ... it's something that has just surfaced.

:bangin: Give me some time to track it down... In the meantime, can you give some server details like php, mysql and the like? (Tools :: Server Version/Info)

If anyone else has experienced this lately, please say so.

6 Sep 2007, 9:27 AM
#1533
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

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

testuser, Im using Wamp5 v1.7.3...

PHP 5.2.4
MySQL 5.0.45
phpmyadmin 2.11.0

I cant even get your HoverBox 2 to work as well :blink: So thats three Image Handlers I tried and they didnt work but I have Image Handler 2 installed on another test site that I downloaded all the working files from my "Up and Running" site and its running fine on wamp5. Weird! Thanks!

6 Sep 2007, 1:48 PM
#1534
francocauter avatar

francocauter

Zen Follower

Join Date:
Jun 2007
Location:
Milton Keynes UK
Posts:
153
Plugin Contributions:
0

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

I would like to know if some one can tell me; the small images in the welcome page for new product and featured products are they supposed not to show the image over with IH2 installed or am I doing something wrong?

6 Sep 2007, 8:45 PM
#1535
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

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

I found the problem! The folder I downloaded didnt have two of the files needed. I cross ref with a working one and found that I was missing...

includes/modules/pages/popup_image_additional/jscript_main.php
includes/modules/pages/popup_image/jscript_main.php

I dont know why they wernt there?:blink:

7 Sep 2007, 3:06 PM
#1536
thedust2010 avatar

thedust2010

New Zenner

Join Date:
May 2005
Posts:
46
Plugin Contributions:
0

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

We've installed Image Handler just fine on a few other sites but we can't get it working properly on a new site we're working on. It's on the same server as these other successful installs, so I have no idea what's going on. After installation it wasn't resizing the images at all. I tried to reinstall and now after that every time you visit the Image Handler page in admin, it just says "Image Handler 2, Version 2.0" and that's it. The rest of the page (including footer) isn't loading. No errors (and yes, all error displays are turned on).

Any ideas? Very strange.

7 Sep 2007, 5:39 PM
#1537
cntgifts avatar

cntgifts

Totally Zenned

Join Date:
Sep 2005
Posts:
836
Plugin Contributions:
0

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

can someone upgrade this for 1.3.7.1

7 Sep 2007, 6:59 PM
#1538
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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

CnTGifts:

can someone upgrade this for 1.3.7.1I have it working fine on 1.3.7.1 sites, with no need for an upgrade, so I'm not sure what sort of an upgrade you're looking for.

7 Sep 2007, 7:18 PM
#1539
francocauter avatar

francocauter

Zen Follower

Join Date:
Jun 2007
Location:
Milton Keynes UK
Posts:
153
Plugin Contributions:
0

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

oxicottin:

I found the problem! The folder I downloaded didnt have two of the files needed. I cross ref with a working one and found that I was missing...

includes/modules/pages/popup_image_additional/jscript_main.php
includes/modules/pages/popup_image/jscript_main.php

I dont know why they wernt there?:blink:

I have those files in there. Any other Idea?
IH2 also shows the floating mouseover image in "customers that have bought this also ...."
But it does not show it in the "New Products" and "Featured Products"
annoying:frusty:

7 Sep 2007, 7:32 PM
#1540
thedust2010 avatar

thedust2010

New Zenner

Join Date:
May 2005
Posts:
46
Plugin Contributions:
0

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

thedust2010:

We've installed Image Handler just fine on a few other sites but we can't get it working properly on a new site we're working on. It's on the same server as these other successful installs, so I have no idea what's going on. After installation it wasn't resizing the images at all. I tried to reinstall and now after that every time you visit the Image Handler page in admin, it just says "Image Handler 2, Version 2.0" and that's it. The rest of the page (including footer) isn't loading. No errors (and yes, all error displays are turned on).

Any ideas? Very strange.

OK, never mind about this issue. Something got overwritten or corrupted. We've got everything back to normal now. But here's the issue with Image Handler... I install the module. bmz_cache is set to 777, but then every folder Image Handler creates within has permissions set to 022. Then we get error messages that the images can't be opened. Anyone else have this problem?