Welcome Guest, Not a member yet? Register   Sign In
No GD-library?
#1

[eluser]mvdg27[/eluser]
Hi,

I'm trying to use the image library and it return the following error: "Your server does not support the GD function required to process this type of image."

The error in itself is pretty clear, off course, although I really do believe I have the GD library installed on my system.

My phpinfo() displays in fact it is installed and enabled:
Code:
gd
GD Support          enabled
GD Version          bundled (2.0.34 compatible)
FreeType Support    enabled
FreeType Linkage    with freetype
FreeType Version    2.1.7
GIF Read Support    enabled
GIF Create Support  enabled
JPG Support         enabled
PNG Support         enabled
WBMP Support        enabled
XBM Support         enabled

Am I missing something? Do I have to configure something in CI to make this work?

-Michiel
#2

[eluser]Seppo[/eluser]
What is the source image type? I think that if it isn't gif, jpeg or png it will throw the same error.
#3

[eluser]mvdg27[/eluser]
The error occurs with both gif, jpg and png ..
#4

[eluser]Michael Wales[/eluser]
Quote:GD Version bundled (2.0.34 compatible)

You have GD2 (not GD). Change your image lib config array to reflect this and everything should work fine:
Code:
$config['image_library'] = 'GD2';
#5

[eluser]mvdg27[/eluser]
Yeap, totally overlooked that config option :S

Thanks, got everything working now!




Theme © iAndrew 2016 - Forum software by © MyBB