The problem of uploading images can be caused by the following two configurations on your website:
- Permissions. The folder where the photos are uploaded to should have their permissions set to 755 or 775. Please use FTP connection to check this.
PHP GD2 Library. Please check if PHP GD2 library is enabled on your website. To check this, please follow the steps below.
a. Create a plain text file and add the following code to it.
<?php
if (extension_loaded('gd') && function_exists('gd_info')) {
echo "PHP GD library is installed on your web server";
}
else {
echo "PHP GD library is NOT installed on your web server";
}
?>
Save the file, with testgd.php as its title.
b. Upload it to the main directory of your website and access it via browser using its URL, e.g.:
http://www.yoursite.com/testgd.php
If the PHP GD2 library is not enabled on your web server, the output of the file will note so. In this case, please contact your hosting provider and ask them to activate it for your website.