---
title: How to Fix Image Upload Issues in WordPress
description: If you're encountering problems uploading images, it’s often due to permission settings, file size limitations, or PHP configurations. Here's how to troubleshoot and resolve common issues.
---

[Skip to content](https://help.blakemarkdigital.co.uk/how-to-fix-image-upload-issues-in-wordpress#main-content)

English - United Kingdom

Show submenu for translations

[More support](https://help.blakemarkdigital.co.uk/kb-tickets/new) [Support Portal](https://help.blakemarkdigital.co.uk/support-portal)

[![Blake Mark Digital Logo](https://help.blakemarkdigital.co.uk/hs-fs/hubfs/Asset%205.png?width=200&height=57&name=Asset%205.png)](https://blakemarkproductions.com/)

Open main navigation

Close main navigation

- English - United Kingdom
  
  Show submenu for translations
- [More support](https://help.blakemarkdigital.co.uk/kb-tickets/new)
- [Support Portal](https://help.blakemarkdigital.co.uk/support-portal)
- [Contact Support](https://help.blakemarkproductions.com/support-portal)

[Contact Support](https://help.blakemarkproductions.com/support-portal)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://help.blakemarkdigital.co.uk/)
2. [Web Hosting](https://help.blakemarkdigital.co.uk/web-hosting)
3. [WordPress](https://help.blakemarkdigital.co.uk/web-hosting#wordpress)

# How to Fix Image Upload Issues in WordPress

If you're encountering problems uploading images, it’s often due to permission settings, file size limitations, or PHP configurations. Here's how to troubleshoot and resolve common issues.

## 1. File permissions issues

Incorrect file permissions on the `uploads` directory are a common cause for upload failures.

##### **Fix: Correct Folder Permissions**

1. **Access cPanel** → File Manager → navigate to `wp-content/uploads/`.
2. **Set directory permissions** to **755** for folders and **644** for files.

**Command Line Fix (SSH)**

```
chmod -R 755 /home/your_user/public_html/wp-content/uploads/
```

 

#### **2. Exceeded Maximum Upload File Size**

Your hosting environment might restrict the maximum file upload size, which causes failures for large images.

##### **Fix: Increase Max File Upload Size**

1. **Log into cPanel** → **Select PHP Version** → Click **Options**.
2. Adjust `upload_max_filesize` and `post_max_size` to at least **64M**. 
     - Ensure `max_execution_time` and `max_input_time` are set appropriately (e.g., **300**).

#### **3. PHP Memory Limit Exceeded**

Insufficient PHP memory can cause uploads to fail, especially for large files or when the server is under load.

##### **Fix: Increase PHP Memory Limit**

1. **In cPanel** → **Select PHP Version** → **Options**, set the `memory_limit` to **256M** or **512M** if needed.

## 4. Incorrect file formats

WordPress only supports common formats like JPG, PNG, and GIF. SVG uploads are blocked by default due to security risks.

##### **Fix: Convert or Enable SVG Uploads**

1. For unsupported file types (e.g., SVG), use the **Safe SVG** plugin to safely allow uploads.
2. Alternatively, convert files to supported formats like PNG or JPG.

#### **5. Temporary Folder Missing**

In certain cases, missing or inaccessible temporary folders can block uploads.

##### **Fix: Define a Temporary Directory**

Add the following to your `wp-config.php`:

```
define('WP_TEMP_DIR', '/home/your_user/public_html/wp-content/temp/');
```

 

If the `temp` directory does not already exist, create it via SSH:

```
mkdir -p /home/your_user/public_html/wp-content/temp/
```

 Then set the correct permissions:

```
chmod 755 /home/your_user/public_html/wp-content/temp/
```

 

#### **6. Browser Cache Issues**

Cached browser data can make it appear that an image did not upload, even when the upload succeeded. Clear your browser cache or test in a private/incognito window to confirm whether the upload actually failed.

##### **Fix: Clear Browser Cache**

Clear your browser cache or check in a different browser or incognito mode.

#### **7. LiteSpeed Caching Conflicts**

LiteSpeed Cache can sometimes interfere with the upload process.

##### **Fix: Purge LiteSpeed Cache**

1. From your WordPress dashboard, go to **LiteSpeed Cache** → **Manage** → **Purge All** to clear the cache.
2. Also ensure **object cache** settings in LiteSpeed don’t conflict with uploads.

#### **8. Plugin or Theme Conflicts**

Sometimes a plugin or theme can cause upload errors, particularly if outdated or incompatible.

##### **Fix: Disable Plugins or Switch Theme**

1. Disable all plugins temporarily and try uploading.
2. If successful, re-enable them one by one to identify the culprit.
3. If plugins are not the issue, switch to the current default WordPress theme and test again.

#### **9. Permissions and Security Modules**

Ensure that server security modules (such as **ModSecurity**) aren't blocking the upload process.

##### **Fix: Disable ModSecurity Temporarily**

1. **In cPanel**, locate **ModSecurity**.
2. Temporarily disable it for the domain and attempt the upload again.
3. If this resolves the issue, adjust the security rules to allow uploads without blocking.

- [Getting Started](https://help.blakemarkdigital.co.uk/getting-started)
- [Web Hosting](https://help.blakemarkdigital.co.uk/web-hosting#main-content)

    - [Elementor](https://help.blakemarkdigital.co.uk/web-hosting#elementor)
    - [WordPress](https://help.blakemarkdigital.co.uk/web-hosting#wordpress)
    - [Security](https://help.blakemarkdigital.co.uk/web-hosting#security)
- [Email](https://help.blakemarkdigital.co.uk/email#main-content)

    - [Mail Clients](https://help.blakemarkdigital.co.uk/email#mail-clients)
    - [SpamExperts](https://help.blakemarkdigital.co.uk/email#spamexperts)
    - [MailChannels](https://help.blakemarkdigital.co.uk/email#mailchannels)
- [Domains](https://help.blakemarkdigital.co.uk/domains#main-content)

    - [Domain Privacy](https://help.blakemarkdigital.co.uk/domains#domain-privacy)
- [Billing](https://help.blakemarkdigital.co.uk/billing)
- [cPanel](https://help.blakemarkdigital.co.uk/cpanel#main-content)

    - [JetBackup](https://help.blakemarkdigital.co.uk/cpanel#jetbackup)
    - [Softaculous](https://help.blakemarkdigital.co.uk/cpanel#softaculous)
- [WordPress Glossary Terms](https://help.blakemarkdigital.co.uk/wordpress-glossary-terms#main-content)

    - [H](https://help.blakemarkdigital.co.uk/wordpress-glossary-terms#h)

[![Blake Mark Digital Logo](https://help.blakemarkdigital.co.uk/hs-fs/hubfs/Asset%205.png?width=250&height=71&name=Asset%205.png "Blake Mark Digital Logo")](https://blakemarkdigital.co.uk/)

Blake Mark Digital is a digital marketing agency supporting SMEs and non-profits with strategic branding, content, and campaigns that drive real results

124-128 City Road, London, EC1V 2NX

[support@blakemarkdigital.co.uk](mailto:support@blakemarkdigital.co.uk)

+44 20 4578 9582

<https://www.facebook.com/blakemarkproductions> <https://www.instagram.com/blakemarkproductions/> <https://blakemarkproductions.com/podcast> [mailto:support@blakemarkproductions.com](mailto:support@blakemarkproductions.com)

Copyright © Blake Mark Productions Ltd