CodeIgniter Forums
GD - JPG images are not supported... - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: GD - JPG images are not supported... (/showthread.php?tid=43471)



GD - JPG images are not supported... - El Forum - 07-12-2011

[eluser]warpspasm[/eluser]
Hi Everyone,

On my development server, the image manipulation class was working great. I have just transferred the code to my live server and I get this error message when trying to resize an image.

Any idea how I can get this to work? Here is the error message:

"Your server does not support the GD function required to process this type of image.

JPG images are not supported."

Thank you!


GD - JPG images are not supported... - El Forum - 07-12-2011

[eluser]ranjudsokomora[/eluser]
warpspasm,
Is your live server a hosting company, or a server you control? This sounds like you need to edit you php.ini file to include the GD library.


GD - JPG images are not supported... - El Forum - 07-12-2011

[eluser]warpspasm[/eluser]
Hi ranjudsokomora!

In the end the solution was simple, (at least on Debian): apt-get install php5-gd

After that everything worked well, thank you so much for your reply!