The image upload consequence in WordPress is ane of those irritating errors that has no articulate solution, meaning information technology has a number of different causes and a number of different solutions you'll demand to weed your style through.

The virtually frustrating part of this error is how randomly it occurs, making it almost impossible to predict. It'south not 1 of those issues you tin can set up for by creating a backup of your site prior to making a major or small-scale alter.

However, in that location are a number of different ways you can resolve this event, and nosotros're going to go over 7 different options you lot have.

Asking Your Host for Assist with the Prototype Upload Issue

If you're inexperienced with WordPress, you might save yourself some fourth dimension by asking your host to correct this issue for y'all. They may not exist able to do anything, but it's still worth asking in case they're able to correct the issue swiftly.

If you are not able to resolve the issue with the help of your host, proceed.

Does the Prototype Upload Consequence Occur for All Images or 1 Paradigm?

The solution you use to correct this problem depends on whether the epitome upload issue is occurring for all of the images you lot upload (including the ones already in your media library) or just one image.

We'll go over each solution below, simply here are 2 lists of solutions yous can take for either scenario.

If the paradigm upload outcome occurs with all images:

  1. Modify file permissions.
  2. Deactivate plugins, especially plugins that optimize images.
  3. Increase your site's PHP and WordPress retentivity limits.
  4. Remove the file path on the Media Settings page.
  5. Bank check to meet if the PHP version yous're using is causing issues.

If the image upload issue occurs with just one epitome:

  1. Rename the image.
  2. Decrease the epitome'southward resolution.

Solution #ane: Change File Permissions to Fix the Image Upload Consequence

You'll need to utilize an FTP client or access your host's control panel for this solution. When your host makes updates on your server, they may touch your site's file permissions, causing the prototype upload fault to appear.

These instructions refer to FileZilla, a popular FTP client, and then follow along carefully if you programme to utilise your host's control console or a different FTP customer.

Admission your site's files, and open your site's root directory, typically called public_html. Open the wp-content folder. This is where the Uploads folder is located. The Uploads binder contains boosted folders that store your media files when yous upload them to your site.

Correct-click the Uploads folder, and select File Permissions. Brand note of the numeric value that's already there.

In the Change File Attributes window, alter these settings:

  • Numeric Value: 744
  • Recurse into Subdirectories: Tick.
  • Select the Apply to Directories Only radio button.

Click OK once you're washed. Repeat the steps and change the 744 to 755 if it didn't work for you lot. Right-click the Uploads binder and select File Permissions if it didn't work. Enter the original numeric value that was there when you started, and go along to the adjacent solution.

Solution #2: Deactivate All of Your Plugins

If you use a plugin to optimize your images, try deactivating it before uploading images to run across if that fixes the epitome upload upshot for you lot. Endeavor deactivating all of your plugins if not. If your site has grown quite a bit and uses a lot of plugins, you may be reaching its memory limits, which may prevent you from uploading media files.

Go on to the fourth solution if deactivating your plugins did not piece of work for you. Discover a new paradigm optimization plugin if deactivating your current one fixed the issue for you, or contact the developer directly to see if they have a solution. Proceed to the next solution if deactivating all of the plugins worked for you.

Solution #three: Increase Your Site's Memory Limit

It'due south possible your site has grown to the signal where y'all're reaching its WordPress and PHP memory limits, as stated in the previous solution. This is especially true if your site runs on a shared hosting server every bit shared hosts often put strict limits on the amount of memory its users are allowed to use.

If y'all are on a shared hosting server, you may accept a tough time increasing your site'south retentiveness limit yourself and may need to enquire your host to do so for you. We've created an entire post explaining how to increase your retention limit in WordPress.

It requires accessing your site through an FTP server, editing your files and calculation lawmaking to them, then be prepared to do all of that if yous're notwithstanding new to WordPress and building websites.

Solution #4: Remove the File Path from the Media Settings Page

This isn't a popular solution to the image upload issue, merely it has worked for some. Sign into the admin area of your WordPress site, open the Settings carte du jour, and select Media. If y'all run into a file path with a textbox displaying where the files should exist uploaded to, delete the text in the file path textbox, and click Save Changes once y'all're done.

If you open the Media Settings page and only encounter dimensions for images and a setting that says your files should be organized into month/year folders, you won't notice whatever use with this solution.

Solution #5: Alter the PHP Version You lot're Using

WordPress is adult with PHP, a server-side scripting language. PHP has its own updates similar to how WordPress, your plugins and theme need to be updated. WordPress requires PHP version five.2.four+ at the bare minimum, though it recommends PHP 5.6 or later, as of May 2016.

Some users have been able to set up the image upload issue by upgrading to the latest version of PHP or downgrading to a previous version of information technology. Y'all can do this in cPanel by selecting PHP Config under the Programming, Software/Services or Avant-garde sections.

If you're a novice WordPress user, enlist the help of your host to make certain it's okay for you to change your PHP version as the change could potentially intermission your site. Backup your site at the very least, especially your .htaccess file.

All you need to exercise is select a different PHP version in PHP Config, and save your changes.

Solution #6: Gear up the Epitome Upload Consequence by Renaming Your File

If you're experiencing this consequence with 1 epitome, your solution may be easier than the previous solutions. Try renaming the file on your reckoner prior to uploading information technology to WordPress to offset out with. Make sure in that location are no apostrophes in your file names as this tends to crusade this fault to appear.

Make sure your file names are written in all lowercase letters. Try irresolute the file type if it still doesn't work, such as turning a .jpg file into a .png file and vice versa.

Solution #seven: Optimize the Image Before Uploading information technology to Your Site

Uploading images that are larger than y'all need them to be causes a multifariousness of different issues, among them being this image upload result. Information technology can also cause yous to hit your site's memory limit quicker than it should have.

A good rule of thumb to follow is to never upload a regular blog post prototype that's wider than your content width, unless information technology's a featured or header epitome. A uncomplicated way to figure out your content width is to open up any blog post on your site, right-click anywhere within it, and select Inspect Element.

Click each pointer to open more of the code until yous find a form called "content." Hover over that form once you lot find information technology. Information technology should highlight the content area of your post. In one case it does, it'll display the width of your content surface area in a minor, yellowish pop-up box.

Try to keep your images at or beneath this width. You tin as well pick a maximum file size to optimize your images even more than. Most sites stick to a 100 KB maximum file-size rule and optimize their images based on that number prior to uploading them to WordPress.

If you want a quick way of seeing if this is the issue, resize the paradigm in Photoshop or GIMP, and re-upload information technology to your site.

Final Thoughts

This is a mysterious issue to have on your site, and many WordPress users country they were unable to ready their own issues even after following all of these steps. If yous can't effigy this 1 out and you still accept yet to contact your host, do so equally soon as possible. They may have a quick and simple solution for you lot.

If you are not an experienced developer or WordPress user, y'all may need to go as far as hiring a developer @mango-wp.com to take a look at your site for you as at that place may be an consequence with your code that'south uncommon and specific to your site.

@fancythemes.com