daz_75 Posted April 11, 2006 Share Posted April 11, 2006 im happy with the help i've done, and it works fine for me, maybe you should try reading the thread a bit closer Quote Link to comment Share on other sites More sharing options...
zalik22 Posted April 12, 2006 Share Posted April 12, 2006 Hi I installed this contribution. Thumbnails are created in my catalog folder (equivalent to root) /thumbnails/images/images/folder1. I verified these are being created. Note the extra /images folder. I cannot move all my images up one folder, so can someone tell me how to change the code to make this work with my site? My DIR_WS_IMAGES in my configure.php is defined as /images. I am guessing something needs to be changed in my html_output file? Please help, I can post any files if you need to see them. Thanks! Quote Link to comment Share on other sites More sharing options...
zalik22 Posted April 12, 2006 Share Posted April 12, 2006 Is support for this thread dead? Quote Link to comment Share on other sites More sharing options...
daz_75 Posted April 21, 2006 Share Posted April 21, 2006 Hi guys I have installed image magic on a unix machine and have no gifs showing, I have tried replacing some sample product image with jpg's and all works fine. It appears to be just the gifs that are causing the problem, have I done something wrong or is there a fix. When I turn off image magic all images appear, but with it on only the jpg's, any ideas? The test site is at www.mulberrysinteriors.co.uk/shop Any help greatly appreciated as I need some sleep In the readme ** Because GIFS have a palette limited to only 256 colours, it is not recommended you try to use any of the image processing features below with this type of source image. The solution if you do use gif format images as your product, category or heading images is to convert them to JPG format. Quote Link to comment Share on other sites More sharing options...
stefanhome Posted April 21, 2006 Share Posted April 21, 2006 Hi,I'm just installing this amazing contribution. I like it... it's exactly what I was looking for. To test the contributions I make a clean install on my local home computer and after testing the functions and if everything works fine, I upload the changed files to the online server. I've done the same with this contribution after it seems to be fine local... what means that I didn't made any mistakes when copying and pasting the code into the files. :thumbsup: .... but now I don't see any pictures. No thumbnails, no product images and no popups. Just the small image icon that normally appears for images not found. :angry: Something is wrong! I cannot find it out, because the other identical version (local) works. :o Here are more informations about the symptoms: 1) right click on the image icon and open image in a new window gives me the following errors: Warning: Division by zero in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 136 Warning: Cannot modify header information - headers already sent by (output started at /home/b/my-homepage.com/public_html/catalog/imagemagic.php:136) in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 487 Warning: Cannot modify header information - headers already sent by (output started at /home/b/my-homepage.com/public_html/catalog/imagemagic.php:136) in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 488 Warning: Cannot modify header information - headers already sent by (output started at /home/b/my-homepage.com/public_html/catalog/imagemagic.php:136) in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 489 Warning: Cannot modify header information - headers already sent by (output started at /home/b/my-homepage.com/public_html/catalog/imagemagic.php:136) in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 490 Warning: Cannot modify header information - headers already sent by (output started at /home/b/my-homepage.com/public_html/catalog/imagemagic.php:136) in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 491 Warning: Cannot modify header information - headers already sent by (output started at /home/b/my-homepage.com/public_html/catalog/imagemagic.php:136) in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 492 Warning: imagecreate(): Invalid image dimensions in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 494 Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 495 Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 496 Warning: imagefilledrectangle(): supplied argument is not a valid Image resource in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 498 Warning: imagestring(): supplied argument is not a valid Image resource in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 500 Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 503 Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/b/my-homepage.com/public_html/catalog/imagemagic.php on line 504 2) If I take a look to the source of the printed catalog you can see, thet the source of the page is not correct <tr class="tableRow"> <td class="main" align="center"><a href="http://www.boutique-monique.com/catalog/product_info.php?cPath=117&products_id=57&osCsid=205a338ce7163ccffa7dabc0bf78876c"><img src="imagemagic.php?img=zufYzNfalOLRqOrO5drOn5Pk58w%3D&w=66&h=80&page=" width="66" height="80" border="0" alt=""my-homepage.com" a description" title=""my-homepage.com" a description title"> 3) in another forum post I heard that it could be a problem with the safe_mode of the PHP. So I changed the php.ini and switched it on. ---- nothing changed ---- still the small error-icons. 4) I activated the cache for Image Magic but no files were created in this folder. Different to my local installation.. There I get all cached files immediatly after clicking in a picture (could be that this information helps a little bit). Again... There is probably no mistake in the code. I suppose the problems are in the rights settings. But I have not so much experiences in server settings. Does anybody has an idea where these problems comes from? If someone of you specialists needs more informations please let me know. I would appreciate any help!!! Thanks a lot :) Stefan Hi, I forgot to post the solve of my problem ... sorry I solved the problem just by changing the code in the catalog/includes/html_output.php from: $image = '<img src="imagemagic.php?img='.$src.'&w='.tep_output_string($width).'&h='.tep_output_string($height).'&page='.$page.'"'; to: $image = '<img src="imagemagic.php?page='.$page.'&img='.$src.'&w='.tep_output_string($width).'&h='.tep_output_string($height).'"'; It seems that there was a problem to access the images by "img='.$src.' So I just moved this from the end inside the code. That's all I hope this helps you all. :D Thanks Stefan Quote Link to comment Share on other sites More sharing options...
daz_75 Posted April 21, 2006 Share Posted April 21, 2006 Cheers Darren, I'd already considered that to be an option, the only issue I have with that is the table_background_... gif's at page top, I have previously replaced all these with a transparent 1x1 gif, but they all show as errors now. Where do I go to remove these or to set them as a 1x1 jpg same colour as background? Ideally I could find the file where they are all defined and either set to 1x1 jpg as mentioned or above, or even use a small logo instead (jpg of course :o) Regards Steve That's a good point, i still have the orgional gif's on my website and they display fine. Rather than use a transparant gif though i have just renamed them and gone into config>Image> and set image require to false, this removes any pictures that are displaying as a red cross. I have loads of manufacturers so this was the easiest way to remove them Just found this out today :D Try putting one of the default gif's back and see if it displays i can send you one if you haven't got them anymore Quote Link to comment Share on other sites More sharing options...
Guest Posted April 21, 2006 Share Posted April 21, 2006 OK looking for some unusual help I guess, I installed the Featured Products module, and I then created this as an STS box so I could show it in the left column. I then edited it and added a new variable in admin for altering the size of the pictures in that box, basically so I could have large pictures for my featured products. Is there anyway I could get this to work so that the images are a different size in this box still? Hope it makes sense... Quote Link to comment Share on other sites More sharing options...
Guest Posted April 22, 2006 Share Posted April 22, 2006 OK looking for some unusual help I guess, I installed the Featured Products module, and I then created this as an STS box so I could show it in the left column. I then edited it and added a new variable in admin for altering the size of the pictures in that box, basically so I could have large pictures for my featured products. Is there anyway I could get this to work so that the images are a different size in this box still? Hope it makes sense... sorry ignore me it already works, a bloody incredible contribution, as a test i just uploaded a 2500x1700 picture at 655kb, the featured product box scaled to 200 width was 26k, and the thumbnail was 1.6k i run the thumbnails at 30% and get fantastic results thanks for a wonderful contrib, when my site is up ill try and get a link on Quote Link to comment Share on other sites More sharing options...
xcooldj Posted April 22, 2006 Share Posted April 22, 2006 Hi, i have another problem I have post it yerserday in this post http://www.oscommerce.com/forums/index.php?showtopic=205949&hl= I have no thrumb folder and i have change this funktions: Small Image Width Small Image Height 48 Heading Image Width Heading Image Height 35 Subcategory Image Width Subcategory Image Height 35 Calculate Image Size true Image Required false Product Information Image Width 100 Product Information Image Height Image Magic Master Switch On Process Store's Graphics False Auto Clean Cache True Encrypt Image Filenames False Filename Encryption Key changeme Apply Internet Explorer PNG Transparency work-around? True Use Resampling True Create Truecolour Thumbnails True Output GIFs as JPEGs False 'GIF as JPEG' Matte colour (HEX) FFFFFF Cache Thumbnails on the Server True Cache Thumbnails in user's browser True Thumbnail Cache directory /thumbnails Use 404 Response if image not found? True Allow thumbnails larger than original True Center if thumbnail larger than original False JPEG Quality - Pop-up Images 100 JPEG Quality - Product Information Thumbnails 100 JPEG Quality - Category Thumbnails 100 JPEG Quality - Heading Thumbnails 100 JPEG Quality - Small Thumbnails 100 Graphic Watermark in Pop-up Images No Graphic Watermark in Product Information Thumbnails No Graphic Watermark in Category Thumbnails No Graphic Watermark in Heading Thumbnails No Graphic Watermark in Small Thumbnails No Watermark Image File logo.png Image Watermark Transparency 20 Image Watermark Position Center Image Watermark Margin 25 Resize Watermark Image True Text Watermark in Pop-up Images Yes Text Watermark in Product Information Thumbnails Yes Text Watermark in Category Thumbnails Yes Text Watermark in Heading Thumbnails Yes Text Watermark in Small Thumbnails Yes Watermark Text Soundconnect Shop Text Watermark Font Name betsy.ttf Text Watermark Size 50 Text Watermark Colour (HEX) 000000 Text Watermark Transparency 15 Text Watermark Position Center Text Watermark Margin 20 Text Watermark Angle 20 Auto Adjust Brightness 0 Auto Adjust Contrast 0 Frame Pop-up Images Yes Frame Product Information Thumbnails Yes Frame Category Thumbnails Yes Frame Heading Thumbnails Yes Frame Small Thumbnails Yes Frame Width 4 Frame Depth 4 Frame Colour (HEX) CCCCCC Frame Inside 3D Highlight Colour (HEX) FFFFFF Frame Inside 3D Shadow Colour (HEX) 000000 Buttonize Pop-up Images No Buttonize Product Information Thumbnails No Buttonize Category Thumbnails No Buttonize Heading Thumbnails No Buttonize Small Thumbnails No Button Height 4 Button Highlight Colour (HEX) CCCCCC Button Shadow Colour (HEX) 000000 Last Hash (System Use - Read Only) what is wrong? I got no error message! Dear Tino Quote Link to comment Share on other sites More sharing options...
arnoldl Posted April 23, 2006 Share Posted April 23, 2006 hello all, love the contrib , only had to change a few things to make it work. thougt to share since i saw some of the same problems on this thread and didn't find a solution. if server doesn't have gif support , you can turn on 'Output GIFs as JPEGs' but that didn't work because the gif was then threated as a jpeg and it's not. so in imagemagic.php original : // Create the image to be scaled: if ($extension=="jpg" && function_exists('imagecreatefromjpeg')) { $src = imagecreatefromjpeg($_GET['img']); } elseif ($extension=="gif" && function_exists('imagecreatefromgif')) { $src = imagecreatefromgif($_GET['img']); } elseif (($extension=="png" || $extension=="gif") && function_exists('imagecreatefrompng')) { changed: // Create the image to be scaled: // Make extra check if jpg is realy jpg and not gif threated as jpg by setting 'Output GIFs as JPEGs' if ($extension=="jpg" && function_exists('imagecreatefromjpeg') && $image[2]==2) { $src = imagecreatefromjpeg($_GET['img']); } // use this function if it's a gif even if 'Output GIFs as JPEGs' is enabled and extension is jpg elseif ($extension=="gif" || ($extension=="jpg" && $image[2]==1) && function_exists('imagecreatefromgif')) { $src = imagecreatefromgif($_GET['img']); } also when auto cleaning cache was on sometimes no image came up. this is beacause if chached dir is empty an error in generated in foreach function original: //clean up the cache if (CFG_CACHE_AUTO_CLEAN=="True" && $check_cache) { $cwd=getcwd(); chdir($create_path); foreach (glob("*.*") as $filename) { if (!is_dir($filename) && !strstr($filename,$append_hash)) { unlink($filename); } } chdir($cwd); } changed: //clean up the cache if (CFG_CACHE_AUTO_CLEAN=="True" && $check_cache) { $cwd=getcwd(); chdir($create_path); //do extra check to prevent error on empty cache dir $filelist=glob("*.*"); if ($filelist) { foreach ($filelist as $filename) { if (!is_dir($filename) && !strstr($filename,$append_hash)) { unlink($filename); } } } chdir($cwd); } This made it work for me , but i'm pretty new to oscommerce and php so maybe it break things for a other one. so BACKUP don't thrust me ;) grtx , arnold Quote Link to comment Share on other sites More sharing options...
xcooldj Posted April 25, 2006 Share Posted April 25, 2006 hi, thank you for post. Now it is running! Nice Tool Tino Quote Link to comment Share on other sites More sharing options...
xcooldj Posted April 25, 2006 Share Posted April 25, 2006 Hi guys, next question :-) I have aktivate Encrypt Image Filenames funktion. Can I change the filename to save by right klick? Standard is "Imagemagic" and i will rename it to Standard "soundconnect"! Dear Tino Quote Link to comment Share on other sites More sharing options...
patator Posted April 27, 2006 Share Posted April 27, 2006 Hello I just installed this great contrib on my live shop (www.clubfitting.net) but some images (small) where not displayed (imagemagic.php was used), I'm only using JPG. I tried to activate the watermark text but it didn't work neither. I had no error messages at all. I was wondering if this could have to do with my PHP Safe turned to ON -> I can't understand why as most of the images where displayed (+ none of the zoom images were working). I temporarely uninstalled the contrib but would like to re-install it asap.... Did somebody bump into the same problem ? Thanks for your answer Patrice Quote Link to comment Share on other sites More sharing options...
nubbin Posted April 27, 2006 Share Posted April 27, 2006 Hi guys I have installed image magic on a unix machine and have no gifs showing, I have tried replacing some sample product image with jpg's and all works fine. It appears to be just the gifs that are causing the problem, have I done something wrong or is there a fix. When I turn off image magic all images appear, but with it on only the jpg's, any ideas? The test site is at www.mulberrysinteriors.co.uk/shop Any help greatly appreciated as I need some sleep Hi, Have you tried settimg image magic/ Process Store's Graphics to False? That way it won't muck around with your store gifs. Cheers Peter Quote Link to comment Share on other sites More sharing options...
sean_nerd Posted April 28, 2006 Share Posted April 28, 2006 Well I didn't want to bug anyone else with this and these forums have been supremely helpful in getting my oscommerce up and running but... I've just moved from my dev server to my live server. "everything" looks to be working great except for imagemagic! (go figure!) I've still got imagemagic.php in my img src tags but they are all coming up as blank. Works great on the dev server but not on the production/live server. the img tags are showing up exactly the same on both servers. what i've tried: created a thumbnails/ directory and chmodded to 777 in my web root on the live server removed any direction to default thumb directory in imagemagic config reset all of my heights/widths in imagemagic A few other edits I've found by going through this forum, like: -commenting out the chdir (DIR_FS_CATALOG); line in imagemagic.php -reinstalling as much as I can of the original imagemagic contribution: basically i've re-edited everything except the sql, as i'm not sure how to take that sql file and remove all the items it added. I've tried a few other things, mostly which broke the images altogether and they stopped getting written, so reversing it brought me back to "almost working" like I am now. if it helps, here is the Link to the live installation in case someone manages to spot something I just can't. My biggest question is that since I/M is obviously trying to work, what could possibly be stopping it from outputting the images? my guesses are -permission issues -GDLib issues (live server has version: bundled (2.0.28 compatible)) -??? end of my rope! If anyone has any suggestions other than starting again from scratch, I'd sure love to hear them - since this site needs to go live Sunday morning, I'd rather not have to repopulate the 90 items in there and reinstall all of my contributions! thank you!! sean Quote Link to comment Share on other sites More sharing options...
sean_nerd Posted April 28, 2006 Share Posted April 28, 2006 (edited) I just got access to error logs from my host and this seems to be extremely relevant to the situation i'm experiencing. Does anyone have any suggestions to deal with this? help! [Thu Apr 27 22:03:41 2006] [error] PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/www/nefara.com/www/professional/wholesale/imagemagic.php on line 271 interesting that line 271 of my imagemagic.php file refers to watermarking, which i'm not using at all. Edited April 28, 2006 by sean_nerd Quote Link to comment Share on other sites More sharing options...
TheExterminator Posted April 28, 2006 Share Posted April 28, 2006 Hey There I hope there are one there can help me. hole my shop is on SSL, but after i have make my shop SSL the imagemagic popup not working. You can take a look here https://The-Exterminator.dk/fido Click on product picture, and click on the picture again, so the popup is comming up //TheExterminator Quote Link to comment Share on other sites More sharing options...
sean_nerd Posted April 28, 2006 Share Posted April 28, 2006 Click on product picture, and click on the picture again, so the popup is comming up //TheExterminator I see all three pictures fine - the product, the 2nd product picture and the pop up. all of them work - I see that imagemagic.php is in the path of both the first and second image but I can't check the popup because you've blocked right-clicking. just letting you know - it doesn't look like anything is wrong on this end! Quote Link to comment Share on other sites More sharing options...
sean_nerd Posted April 29, 2006 Share Posted April 29, 2006 (edited) I just got access to error logs from my host and this seems to be extremely relevant to the situation i'm experiencing. Does anyone have any suggestions to deal with this? help![Thu Apr 27 22:03:41 2006] [error] PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/www/nefara.com/www/professional/wholesale/imagemagic.php on line 271 interesting that line 271 of my imagemagic.php file refers to watermarking, which i'm not using at all. followup in case anyone else is experiencing this issue: We turned on the call-time-pass-by-reference in php.ini which made no difference other than to stop this error. imagemagic seems to be calling all of its functions (like imagejpeg() ) or variables like $line or but php isn't recognizing them as declared. I think that it might turn out to be a path issue on the new server. see below: [Fri Apr 28 17:34:42 2006] [error] PHP Notice: Undefined variable: line in /home/www/nefara.com/www/wholesale/imagemagic.php on line 501 [Fri Apr 28 17:34:42 2006] [error] PHP Fatal error: Call to undefined function: imagejpeg() in /home/www/nefara.com/www/wholesale/imagemagic.php on line 503 [Fri Apr 28 17:38:10 2006] [error] PHP Warning: main(/includes/configure.php): failed to open stream: No such file or directory in /home/www/nefara.com/www/wholesale/imagemagic.php on line 13 Of course /includes/configure.php is where it belongs - if it wasn't the rest of the cart couldn't access the database, right? SO what is taking place here? Anyone? I'd sure love a hand with this if you've got any ideas, "All I've done is move from one server to another" thanks, sean Edited April 29, 2006 by sean_nerd Quote Link to comment Share on other sites More sharing options...
dprophit Posted April 29, 2006 Share Posted April 29, 2006 Would the authors be willing to work on creforge.com to port this over to creloaded carts? I can get the svn up and running quickly. Quote --- Denver Prophit Jr. Link to comment Share on other sites More sharing options...
patator Posted April 30, 2006 Share Posted April 30, 2006 Hello I have exactly the same problems that Sean. The only thing I haven't tried is to turn php safe to off (I'm restricted of doing it). Please, could somebody help us. Thanks Patrice www.clubfitting.net (my shop being live, I will have to switch off IM) followup in case anyone else is experiencing this issue: We turned on the call-time-pass-by-reference in php.ini which made no difference other than to stop this error. imagemagic seems to be calling all of its functions (like imagejpeg() ) or variables like $line or but php isn't recognizing them as declared. I think that it might turn out to be a path issue on the new server. see below: [Fri Apr 28 17:34:42 2006] [error] PHP Notice: Undefined variable: line in /home/www/nefara.com/www/wholesale/imagemagic.php on line 501 [Fri Apr 28 17:34:42 2006] [error] PHP Fatal error: Call to undefined function: imagejpeg() in /home/www/nefara.com/www/wholesale/imagemagic.php on line 503 [Fri Apr 28 17:38:10 2006] [error] PHP Warning: main(/includes/configure.php): failed to open stream: No such file or directory in /home/www/nefara.com/www/wholesale/imagemagic.php on line 13 Of course /includes/configure.php is where it belongs - if it wasn't the rest of the cart couldn't access the database, right? SO what is taking place here? Anyone? I'd sure love a hand with this if you've got any ideas, "All I've done is move from one server to another" thanks, sean Quote Link to comment Share on other sites More sharing options...
patator Posted May 1, 2006 Share Posted May 1, 2006 :-" I found partly a solution in the tread: in imagemagic.php, comment out the following 'line 268) : I had//add selected custom filters to the image // if (BRIGHTNESS_ADJUST != "0") adjust_brightness(&$tmp_img,BRIGHTNESS_ADJUST); // if (CONTRAST_ADJUST != "0") adjust_contrast(&$tmp_img, CONTRAST_ADJUST); // if ($image_watermark) watermark_image(&$tmp_img, DIR_FS_CATALOG.'includes/imagemagic/watermarks/'.WATERMARK_IMAGE ,WATERMARK_IMAGE_POSITION, WATERMARK_IMAGE_OPACITY, WATERMARK_IMAGE_MARGIN); // if ($frame) frame(&$tmp_img, FRAME_WIDTH, FRAME_EDGE_WIDTH, FRAME_COLOR, FRAME_INSIDE_COLOR1, FRAME_INSIDE_COLOR2); // if ($bevel) bevel (&$tmp_img, BEVEL_HEIGHT, BEVEL_HIGHLIGHT, BEVEL_SHADOW); // if ($text_watermark) watermark_text(&$tmp_img, WATERMARK_TEXT, WATERMARK_TEXT_SIZE, WATERMARK_TEXT_POSITION, WATERMARK_TEXT_COLOR, 'includes/imagemagic/fonts/'.WATERMARK_TEXT_FONT, WATERMARK_TEXT_OPACITY, WATERMARK_TEXT_MARGIN, WATERMARK_TEXT_ANGLE); Then, the images will be correctly displayed. But now if I want the text watermark working (very important for me), I have to keep the following code: if ($text_watermark) watermark_text(&$tmp_img, WATERMARK_TEXT, WATERMARK_TEXT_SIZE, WATERMARK_TEXT_POSITION, WATERMARK_TEXT_COLOR, 'includes/imagemagic/fonts/'.WATERMARK_TEXT_FONT, WATERMARK_TEXT_OPACITY, WATERMARK_TEXT_MARGIN, WATERMARK_TEXT_ANGLE); What happens then...no image showing.... Could somebody help me, please ? Thanks in advance Patrice :( Hello I have exactly the same problems that Sean. The only thing I haven't tried is to turn php safe to off (I'm restricted of doing it). Please, could somebody help us. Thanks Patrice www.clubfitting.net (my shop being live, I will have to switch off IM) :-" :-" Quote Link to comment Share on other sites More sharing options...
patator Posted May 1, 2006 Share Posted May 1, 2006 I keep answering myself, but it might help other people, I found THE answer : I removed the "&" before each "$" and everything works great if (BRIGHTNESS_ADJUST != "0") adjust_brightness($tmp_img,BRIGHTNESS_ADJUST); if (CONTRAST_ADJUST != "0") adjust_contrast(&$tmp_img, CONTRAST_ADJUST); if ($image_watermark) watermark_image($tmp_img, DIR_FS_CATALOG.'includes/imagemagic/watermarks/'.WATERMARK_IMAGE ,WATERMARK_IMAGE_POSITION, WATERMARK_IMAGE_OPACITY, WATERMARK_IMAGE_MARGIN); if ($frame) frame($tmp_img, FRAME_WIDTH, FRAME_EDGE_WIDTH, FRAME_COLOR, FRAME_INSIDE_COLOR1, FRAME_INSIDE_COLOR2); if ($bevel) bevel ($tmp_img, BEVEL_HEIGHT, BEVEL_HIGHLIGHT, BEVEL_SHADOW); if ($text_watermark) watermark_text($tmp_img, WATERMARK_TEXT, WATERMARK_TEXT_SIZE, WATERMARK_TEXT_POSITION, WATERMARK_TEXT_COLOR, 'includes/imagemagic/fonts/'.WATERMARK_TEXT_FONT, WATERMARK_TEXT_OPACITY, WATERMARK_TEXT_MARGIN, WATERMARK_TEXT_ANGLE); If it works for U, please let the others know as well Pat :thumbsup: :-" I found partly a solution in the tread: in imagemagic.php, comment out the following 'line 268) : Then, the images will be correctly displayed. But now if I want the text watermark working (very important for me), I have to keep the following code: What happens then...no image showing.... Could somebody help me, please ? Thanks in advance Patrice :( :-" :-" Quote Link to comment Share on other sites More sharing options...
damianbunn Posted May 2, 2006 Share Posted May 2, 2006 I have installed Image Magic on a unix host. I add an image through products and the image is not displayed. If I turn IM off it is then displayed. I noticed that a thumbnails directory does not exist. I manually created in /catalog/thumbnails and CHMOD'd it to 777. Adding a new product the thumbnail and expanded image were not displayed, nor placed in the thumbnail folder. In fact I cannot locate where the images have been placed. Hope someone can help Damian Quote Link to comment Share on other sites More sharing options...
user06 Posted May 5, 2006 Share Posted May 5, 2006 Hello, i dont know what to do, i've installed everythin as said in the manual. I get no errors even the format of m pictures is right. but i have the feeling that a few options are missing. My Image Magick Menu looks like this: Where are the options to create the Text Watermarkin and changing the quality of the images?? Maybe i dont see the wood for the trees - would be gorgeous if someone would help me. Adress to store is http://outbreak-laden.de but i put the General Control off, beacuse if i switch it on my pictures are just pixels because of the bad quality, but i can't find the options to configure it... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.