I just started getting this error lately:. I am not sure why what's causing this so if anyone knows please help.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
Line 636 - 659 reads:
and line 652 reads:PHP Code:
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 Code:
$ok = imagejpeg($image, $dest_name, $quality);
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
Thanks,
I've noticed the same as well ... it's something that has just surfaced.
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.
Last edited by testuser; 6 Sep 2007 at 03:23 AM.
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 wellSo 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!
Last edited by oxicottin; 6 Sep 2007 at 10:32 AM.
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?
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?![]()
Bookmarks