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
Views: 2,510,535
Totally Zenned
Check your settings in admin > configuration > images
New Zenner
Ryk:
Check your settings in admin > configuration > images
Thanks all sorted. Changed image size from there and worked like a treat. Thanks.
New Zenner
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.
New Zenner
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.
Inactive
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.
New Zenner
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?
Inactive
mdotse:
hmmm......tested with linux and windows apache and thats the fix i found....you get it working?
Can you explain the error again?
Totally Zenned
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);
Inactive
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.
Zen Follower
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?
Zen Follower
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,
Inactive
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.
Zen Follower
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!
Zen Follower
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?
Zen Follower
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:
New Zenner
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.
Totally Zenned
can someone upgrade this for 1.3.7.1
Totally Zenned
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.
Zen Follower
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.phpI 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:
New Zenner
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?
Fields marked required must be completed.
Tell staff why this post should be reviewed.