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

NameHero® Blog

Web Hosting Tips & Resources From NameHero

  • AI Agents
    • OpenClaw
    • Claude Code
    • n8n
    • Hermes Agent
    • Open WebUI
    • Docker
  • Hosting
    • Web Hosting
    • WordPress Hosting
    • WooCommerce Hosting
    • Enterprise Hosting
    • Email Hosting
    • HeroicGuard
    • GPU Hosting
    • Website Builder
  • VPS
    • Managed VPS
    • Unmanaged VPS
    • Flex VPS
  • Reseller
  • Gaming
  • Domains
  • Account
  • Blog Home
  • Categories
  • Authors

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 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.

Related Posts

How to Eliminate Render-Blocking Resources in WordPress (& Why You Should)

Many things can slow down your site, including render-blocking resources. These are CSS and JavaScript files that delay the loading of content on your site. As a result, visitors will have to wait longer to interact with your page, which could lead to frustration and instant exits.  So, what can you do to eliminate render-blocking […]

How To Start A Newsletter In WordPress

Check out our complete guide on why and how you should start your own newsletter in WordPress.

How To Back Up Your WordPress Site (And Why You Should Do It Today)

In this post, we’ll take a closer look at why backups matter. We’ll also show you different ways to back up your WordPress website.

Joomla vs. WordPress: Which One Is Better?

In this post, we’ll consider five differences between Joomla and WordPress and how you might go forward with setting up a WordPress website.

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

NameHero’s Recommended WordPress Plugin and Theme Setup

WordPress Hosting vs. Web Hosting – What’s The Difference?

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
  • WordPress Tutorials
  • OpenClaw Hosting
  • Enterprise Hosting
  • WooCommerce
  • Web Hosting
  • Resellers
  • Website Security
  • Website Development
  • Website Performance
  • 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
  • Managed VPS Hosting
  • Unmanaged VPS Hosting
  • Flex VPS Hosting
  • WordPress Hosting
  • WooCommerce Hosting
  • Reseller Hosting
  • Enterprise Hosting
  • GPU Hosting
  • Email Hosting
  • HeroicGuard
  • Domains
  • Website Builder
  • AI Agent Hosting
Help & Support
  • NameHero Blog
  • NameHero Gaming Blog
  • Support
  • Help Center
  • Migrations
  • Affiliates
  • Gaming Affiliates
  • Call 1-855-984-6263
Company
  • About Us
  • Contact Sales
  • Reviews
  • Uptime
  • We're Hiring

Copyright © 2026 Name Hero, LLC. All rights reserved.
NameHero® is a registered trademark.

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