image library problem - 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: image library problem (/showthread.php?tid=6576) |
image library problem - El Forum - 03-04-2008 [eluser]alebenson[/eluser] Hi there! Im trying to do a thumbnail so first thing i did was Code: $this->load->library('image_lib'); and i got this error Code: Your server does not support the GD function required to process this type of image. sent an email with the guys from the server, i ask what lib they have installed. There response was GD and GD2 ok, so i try with Code: $this->image_lib->rotate() and i got this error Code: "An angle of rotation is required to rotate the image." then i did just Code: $this->load->library('image_lib'); and i got the same error Code: An angle of rotation is required to rotate the image. so the thing here is somewhere i dont know any ideas? image library problem - El Forum - 03-04-2008 [eluser]Michael Wales[/eluser] Could you post a link to a <? phpinfo(); ?> image library problem - El Forum - 03-04-2008 [eluser]alebenson[/eluser] yes... http://www.alebenson.com.ar/prueba.php image library problem - El Forum - 03-05-2008 [eluser]Merolen[/eluser] Code: Your server does not support the GD function required to process this type of image. This is a some what cryptic error. I encountered the same error, and the problem was that the path to the image was wrong. Not easy to read that out of the error message image library problem - El Forum - 03-05-2008 [eluser]alebenson[/eluser] hi! yes i read your post... but im passing the path with the $image['full_path'] from the Upload Library, cannot be wrong. i did it without CI and works fine, but that wasnt my idea Code: $file = $imagenTMP['full_path']; image library problem - El Forum - 03-05-2008 [eluser]Merolen[/eluser] I use the relative path from ./system/application/your/picfolder/pic.jpg and that works for me. /ci/system/application/your/picfolder/pic.jpg don't work for me. Is that what the full_path shows? image library problem - El Forum - 03-05-2008 [eluser]alebenson[/eluser] Fullpath shows where the image was saved /public_html/images/pic.jpg look that im using the same $image[’full_path’] with ci and without it. but for some reason on ci is not working image library problem - El Forum - 04-01-2008 [eluser]agartzia[/eluser] Don't know if I'm late but... I was in the same situation, all you gotta do is Code: $config['rotation_angle'] = 90; // <<-- NOT '90', BUT 90 Regards |