Every developer face these errors in there development carrier while resizing image. Actually all these errors are same and reason is also same of all are these errors .
Reason is that GD library is not enable on your server .Means if you are using local server then GD library must be enable on your local server or if you are working on ftp server then it must be install on your ftp server.
Now question is that how you can check that GD library is enable on you server .Its very simple make a php file like phpinfo.php and write below code in it .
<?php
echo phpinfo();
?>
Put this file on the root of your server .Then run it on you brouser .Then find GD Support .It must be enabled and rest of all other option must be enabled on your server like below .
How To Enable : If you are working on local server then open php.ini file and find
If you like this post please don't forgot to notify me to post a comment .
Reason is that GD library is not enable on your server .Means if you are using local server then GD library must be enable on your local server or if you are working on ftp server then it must be install on your ftp server.
Now question is that how you can check that GD library is enable on you server .Its very simple make a php file like phpinfo.php and write below code in it .
<?php
echo phpinfo();
?>
Put this file on the root of your server .Then run it on you brouser .Then find GD Support .It must be enabled and rest of all other option must be enabled on your server like below .
How To Enable : If you are working on local server then open php.ini file and find
extension=php_gd2.dll in your php.ini file and
Modify your php.ini and change the following line:;extension=php_gd2.dll
T
o
extension=php_gd2.dll
Now restart your server and now all of these error now resolved.
Note :If this problem come on your server then contact to your server administrator to enable GD library on your server .
If you like this post please don't forgot to notify me to post a comment .
Happy coding guys :)