After uploading the image, we tried to crop the image but we found this wordpress error “Unable to create new image”. We are running this blog on Nginx,PHP-FPM and WordPress. We were aware that it is related to php5-gd module as we already experienced this issue in other case also.
Here is below given screenshot of error –
Solution For WordPress error “Unable to create new image”
Install php5-gd module
sudo apt-get install php5-gd
Now restart the php5-fpm and nginx.
sudo service php5-fpm restart ; service nginx restart
Now try again, the error must be resolved and you should be able to crop/scale the images.