wp-content/uploads permissions, so set folders to 755 and files to 644. If images upload but show broken, check permissions and the site address in Settings.Image uploads are one of the first things to break after a migration or a settings change. The good news is that the error message usually tells you why.
Diagnose it in a minute #
| What you see | Likely cause | Fix |
|---|---|---|
exceeds the maximum upload size for this site |
The file is bigger than the upload limit | Shrink the image, or raise upload_max_filesize in PHP settings |
HTTP error while uploading |
PHP memory, huge image dimensions, or a dropped connection | Reduce the dimensions, retry, and check memory |
Unable to create directory wp-content/uploads/... |
uploads folder permissions | Folders 755, files 644 |
| The image uploads but shows broken | File permissions, or a wrong site address after moving | Check permissions and Site Address |
Sorry, you are not allowed to upload this file type |
A format WordPress does not accept | Use JPG, PNG or WebP |
Find the current upload limit #
Open Media › Add Media File. Under the upload box WordPress shows Maximum upload file size.

To raise it, change upload_max_filesize and post_max_size in cPanel: Select PHP Version › Options or MultiPHP INI Editor, whichever your account shows.

Fixing uploads folder permissions #
- Open File Manager then
public_html/wp-content. - The uploads folder select it and click Permissions: set it to 755.
- Folders inside it each year and month folder: 755 as well.
- Files the images themselves: 644.

Changing thousands of files one by one is tiring. If you have SSH, the commands in the card do it at once, or ask us to set them for you.

Very large images #
A phone photo can have huge dimensions, so WordPress needs a lot of memory to create its thumbnails and the upload fails with HTTP error. Resize images to around 2000 px wide before uploading. If it keeps happening with normal images: raise PHP memory.
- Your disk space is full or nearly full
- The problem started after moving your site to us
Open a support ticket with your site address and the exact error.
Questions we get #
How high should the upload limit be?
Enough for your real files. For images a few megabytes is usually plenty; upload very large files over FTP.
Should I upload PNG, JPG or WebP?
WebP is lighter at good quality and WordPress accepts it. JPG for photos, PNG for graphics and logos.
Images do not show after moving the site
Check the site address in Settings › General and make sure the whole uploads folder was copied.
I get Failed to write file to disk
That has its own guide: fixing Failed to Write File to Disk.