Photo/image uploads not working

If you are experiencing an issue with photo/image uploads not working, then you can try some of the following things to try to fix the image upload issue:

  • Make sure that the uploads folder has the correct permissions (see this article). Please check permissions for the wp-content/uploads/ultimatemember directory. You should give "read," "write," and "execute" permissions for the owner and for the group.
  • Make sure that PHP directives memory_limit, post_max_size, upload_max_filesize are greater than the uploaded image. Increase the maximum file upload size if needed (see this article). It is possible to set the memory limit by defining the WP_MEMORY_LIMIT constant in the wp-config.php file (see this article).
  • Make sure that PHP libraries GD and Imagick are installed and working.
  • Make sure that you are not breaking the domain origin policy (using www. version while WP is installed on the non www. site for example)
  • Make sure that access to the directory for uploads is not limited by the open_basedir directive.
  • Make sure that uploading is not blocked by the ModSecurity (WAF) module if this module is installed on the server. Contact your hosting provider support and ask them to disable ModSecurity or change settings of the ModSecurity.

You can try these steps one by one, checking image uploads each time. If you are not sure how to check these different steps, you should contact your host support, who will be able to check these things for you.