• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
NameHero Blog

NameHero Blog

Web Hosting Tips & Resources From NameHero

  • Hosting
    • Web Hosting
    • VPS Hosting
    • WordPress Hosting
    • WooCommerce Hosting
  • Reseller
  • Enterprise
  • Domains
  • Account
  • Blog Home
  • Categories

How To Fix Image Upload Errors In WordPress

Ryan Gray

Published on: February 5, 2018

Categories: WordPress 0

Image upload errors in WordPress can be very frustrating!

Some of the most common include memory limit exhausted, image size exceeds upload limit, and a general http error.

Thankfully the majority of these can be solved without having to make any edits to the code of your website.

Increase PHP Limits

The first step to troubleshooting these errors is to login to cPanel and increase your PHP limits.

You can do this by going to cPanel-> Select PHP Version -> Switch To PHP Options:

Personally, I like to set my memory_limit to at least 128M, my post_max_size to at least 32M, and my upload_max_filesize to at least 32M.

You can go higher, but most of the time these will solve 99% of the upload issues you’re having.

Make Sure You’re Using PHP 7

PHP 7 is the default on all our new servers, but if you’re not already using PHP 7, make sure to set your website to do so:

cPanel -> Select PHP Version -> 7.0 (at least):

Older version of PHP can cause image uploads to fail, so it’s always best to use the latest.  With the major performance benefits, you definitely want to use at least PHP 7.0 (if not PHP 7.2).

At Name Hero, we provide many of these options.

Check Your Uploads Folder Permissions

If you’ve installed WordPress using the auto-installer in cPanel, this shouldn’t be an issue.

However, if you’ve migrated your website over, or have manually installed WordPress, you may need to check the permissions on your uploads folder.

To do this you want to go to cPanel -> File Manager -> Navigate To “uploads” inside the wp-content folder.

You then want to right click, Change Permissions and make sure it is set to 755:

Fix WordPress Image Upload Error Tutorial

I’ve filmed a brief tutorial that walks through most of this and also covers where to find good free stock images 🙂

As stated in my video, this should solve 99% of your WordPress image upload issues.

If you have a really large image, you can always use free services such as Optimizilla to reduce the size for easier uploading (and a faster loading website).  I also like to use the ShortPixel Plugin on my websites.

If by chance you still have issues, feel free to reach out to our support team or comment below!

  • Browse Our High Speed WordPress Hosting

Ryan Gray
Ryan Gray

Ryan Gray is the founder and CEO of NameHero, one of the fastest growing independent web hosts in the United States. Ryan has been working online since 1998 and has over two-decades experience in Internet Entrepreneurship.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Follow & Subscribe

Exclusive promos, content and more!

Most Popular Posts

Speed up your site: solving the WordPress slowdown

NameHero’s Recommended WordPress Plugin and Theme Setup (2023)

How To Increase The InnoDB Buffer Pool Size

How To Fix A Stuck All-in-One WP Migration Import

How To Add A Subdomain In Cloudflare

Top Categories

  • WordPress
  • Website Performance
  • Web Hosting
  • Resellers
  • Website Security
  • Website Development
  • VPS Hosting
  • SEO Tips
  • Announcements
  • Domain Registration
NameHero

NameHero proudly provides web hosting to over 40,000 customers with 99.9% uptime to over 750,000 websites.

  • Master Card
  • Visa
  • American Express
  • Discover
  • Paypal
Products
  • Web Hosting
  • VPS Hosting
  • WordPress Hosting
  • WooCommerce Hosting
  • Reseller Hosting
  • Enterprise Hosting
  • Domains
Help & Support
  • NameHero Blog
  • Knowledgebase
  • Announcements
  • Affiliates
Company
  • About Us
  • Contact Sales
  • Reviews
  • Uptime
  • We're Hiring

Copyright © 2023 NameHero, LLC. All rights reserved.

  • Privacy Policy
  • Terms of Use
  • Acceptable Use Policy
  • Payment Policy
  • DMCA