![]() |
GD library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: GD library (/showthread.php?tid=6530) Pages:
1
2
|
GD library - El Forum - 03-03-2008 [eluser]Fatih[/eluser] Hi, I use image manipulation class in CI and I get an error message below: "Your server does not support the GD function required to process this type of image." But I checked my server. GD library was installed and enabled as given below message: -bash-2.05b# php -i |grep GD GD Support enabled GD Version bundled (2.0.28 compatible) So, what is the problem do you think? What shall I do to use GD library? GD library - El Forum - 03-03-2008 [eluser]xwero[/eluser] Are you processing a gif image? GD library - El Forum - 03-03-2008 [eluser]Fatih[/eluser] no, jpg and png actually I did. But the results were the same. GD library - El Forum - 03-03-2008 [eluser]xwero[/eluser] check with Code: var_dump(gd_info()); GD library - El Forum - 03-03-2008 [eluser]Fatih[/eluser] Here is the results: Code: array(11) { I want to use create thumbnails and watermark function of GD library. Is it possible with this config? GD library - El Forum - 03-03-2008 [eluser]xwero[/eluser] Yes it should be possible i have used it on servers with the same configuration. Maybe someone else can help you, i'm all out of options, i'm sorry. GD library - El Forum - 03-03-2008 [eluser]Michael Wales[/eluser] Are you using: Code: $config['image_library'] = 'GD2'; rather than: Code: $config['image_library'] = 'GD'; GD library - El Forum - 03-03-2008 [eluser]Fatih[/eluser] No, I am using GD library: Code: $config['image_library'] = 'GD'; But, my do_upload code is as given below. I can use same config array for uploading and image manipulation. Is there any confusing with $config array for uploading and image manipulation? Code: function do_upload() GD library - El Forum - 03-03-2008 [eluser]Michael Wales[/eluser] You should be using GD2 Code: ["GD Version"]=> string(27) "bundled (2.0.28 compatible)" GD library - El Forum - 03-03-2008 [eluser]Fatih[/eluser] Sorry but still the same result when I use "GD2" instead of "GD". |