WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Tutorials» How to Fix Image Upload Issue in WordPress (Step by Step)

How to Fix Image Upload Issue in WordPress (Step by Step)

Last updated on April 22nd, 2019 by Editorial Staff
312 Shares
Share
Tweet
Share
Pin
Special WordPress Hosting offer for WPBeginner Readers
How to Fix Image Upload Issue in WordPress (Step by Step)

Are you facing image upload issues on your WordPress website? For most beginners, image upload errors can be quite confusing because they can appear without you doing anything different.

Failure to upload images is one of the most common image issues in WordPress. Luckily, it is quite easy to fix, and you can do it yourself.

In this article, we will show you how to easily fix the image upload issue in WordPress. We will also explain what causes this issue, and how you can prevent it in the future.

Fixing image upload issues in WordPress

What Causes The Image Upload Issue in WordPress

The image upload issue in WordPress is typically caused by incorrect file permissions. Your WordPress files are stored on your web hosting server and need specific file and directory permissions to work.

Wrong file permissions prevent WordPress from reading or uploading file on the hosting server. You may get the following error when uploading image file:

‘Unable to create directory wp-content/uploads/2019/04. Is its parent directory writable by the server?’

Unable to create directory error

Another sign of this issue is that your images may disappear from the media library.

Missing images in media library

My site was working fine before? Who changed the file permissions?

This could happen due to a number of reasons. A misconfiguration on your shared hosting server can sometimes change those permissions without you doing anything.

For example, your web hosting provider ran an upgrade which unexpectedly changed file permissions.

If everything else is working fine on your website, then you can simply apply the correct file permissions to fix the image upload issue.

That being said, let’s take a look at how to set correct file permissions to fix image upload issues in WordPress.

Fixing Image Upload Issue in WordPress

You will need to use an FTP client to change file permissions.

First, connect to your website via FTP and then go to /wp-content/ folder. Inside, you’ll find the uploads folder, which is where WordPress stores all your media uploads including images.

Now right click on the uploads directory and then select File Permissions.

Opening file permissions dialog box for uploads folder

This will bring up the file permissions dialog box.

First, you will need to set file permissions for the uploads directory and all the subdirectories inside it to 744.

Change folder permissions

To do that, enter 744 in the numeric value box, and then check the box next to Recurse into subdirectories option. Now click on the ‘Apply to directories only’ radio button.

Click on the OK button to apply these changes. Your FTP client will now start applying file permissions to the directories.

Note: If setting directory permissions to 744 does not seem to solve your problem, then try 755.

In the next step, you will need to set file permissions for all the files in the uploads directory.

To do that, right click on uploads directory and select file permissions. In the file permissions dialog box, change the numeric value to 644.

Check the box next to Recurse into subdirectories. Lastly, you need to click on ‘Apply to files only’ radio button. Click on the OK button to apply these changes.

File permissions

The FTP client will now change the permissions for all files inside the uploads folder. Once it is done, you can go back to your WordPress admin area and try uploading images again.

Note: if you don’t know how to use a FTP client, then you can also use the file manager provided by your WordPress hosting company. Since the screenshots will vary from each host, you will need to talk to their support to find instructions.

We hope this article helped you fix the image upload issue in WordPress. You may also want to see our article on how to optimize image SEO to get more organic traffic to your website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

312 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • Google Analytics in WordPress

    How to Install Google Analytics in WordPress for Beginners

  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

259 Comments

Leave a Reply
  1. Kyree H says:
    Dec 3, 2019 at 4:40 am

    What URL do I type in when connecting via the FTP client? The actual domain that visitors use or my wordpress URL?

    Reply
    • WPBeginner Support says:
      Dec 3, 2019 at 10:10 am

      That can vary based on your host, if your normal domain does not work you would want to check with your hosting provider

      Reply
  2. Muhammad Adil says:
    Nov 24, 2019 at 2:22 am

    Hurray, I did it just change URL from Setting-General than change “WordPress Address (URL) and Site Address (URL)” set both http to https and the issue has been resolved.

    Reply
    • WPBeginner Support says:
      Nov 25, 2019 at 10:48 am

      Glad our recommendation could help :)

      Reply
  3. Kristina says:
    Nov 12, 2019 at 11:29 pm

    Hello anybody know how to fix getting your images to load the the Media Library? the files are located in the correct place on my server wp content / uploads. and i know my permissions are correcgt 755 and 0644 for the individual files.
    if i try to drag or load files from scratch into the Media Library Add New loader I always get this error- ” could not insert post into the database” thanks.

    Reply
    • WPBeginner Support says:
      Nov 13, 2019 at 10:30 am

      You may want to ensure there are no special characters in your file name and you’ve tried increasing the maximum upload size for possible reasons.

      Reply
  4. Nicole says:
    Sep 19, 2019 at 2:58 pm

    My photo’s that I am trying to upload are not even uploading. It is currently stuck on the download bar and I don’t know how to up the uploading process or how to stop it and try again. Please help. We are on a time crunch.

    Thank you.

    Reply
    • WPBeginner Support says:
      Sep 20, 2019 at 9:31 am

      The most common other reason for not being able to upload an image would be fixed using the method in our article here: https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-http-image-upload-error-in-wordpress/

      Reply
  5. Hamza says:
    Sep 7, 2019 at 2:50 pm

    publishing issue in wordpress.
    no page, post is publishing in wordpress

    Reply
    • WPBeginner Support says:
      Sep 9, 2019 at 9:32 am

      It would depend on if you are receiving an error message or not. For starting out, you would want to take a look at our troubleshooting article here: https://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/

      Reply
  6. James Howlett says:
    Aug 12, 2019 at 5:08 pm

    New image uploaded always has 640 permission. And if I access image with 640 permission, it will return 404. But if I change it to 644, I can access the image.

    Is 640 the correct permission for image uploaded? Or is it 644?

    Reply
    • WPBeginner Support says:
      Aug 13, 2019 at 10:05 am

      644 are the correct permissions :)

      Reply
  7. sandra willie says:
    Jul 28, 2019 at 8:02 pm

    I’m having a problem sizing my photos for a wordpress site and getting them to display correctly. I’ve resized the images several times to smaller, but they still appear showing only portion of the image and not the full image – even though I have also tried resizing in the edit section of the gallery! How do I get them to load in the full size if the image is a suitable size and resolution!

    Reply
    • WPBeginner Support says:
      Jul 29, 2019 at 11:57 am

      When adding the image to a post/page you may want to check for the dropdown in the bottom right stating the size and set it to the full size for your image.

      Reply
  8. Jessica says:
    Jul 26, 2019 at 10:43 am

    Hi. When I upload a rectangular photo it uploads as a square cutting off most of the image. Any suggestions? Thank you!

    Reply
    • WPBeginner Support says:
      Jul 29, 2019 at 11:07 am

      Your theme may be generating a new image size, you may want to check under Settings>Media to see if you’ve enabled image cropping there.

      Reply
  9. Alexandru says:
    Jul 26, 2019 at 8:00 am

    I’m having an issue when in editing mode upon uploading product images in gallery. I uploaded some images for a product gallery with no issues then I went to upload new ones for another product. I select the images/upload into gallery but instead of uploading the new ones I selected it uploads the ones from the previous upload.. Ctrl+F5, delete cookies, system restart… nothing. Still the same issue.
    Any ideas?

    Reply
    • WPBeginner Support says:
      Jul 26, 2019 at 9:47 am

      It sounds like you would want to reach out to the support for the plugin you are using for your products to ensure that it is not a hiccup with the plugin itself.

      Reply
  10. Mike Wright says:
    Jun 12, 2019 at 2:38 am

    Thanks a lot!

    You continue to bring the clear and direct fixes

    Reply
    • WPBeginner Support says:
      Jun 12, 2019 at 10:58 am

      You’re welcome, glad our articles can help :)

      Reply
  11. The Struggling Believer says:
    Jun 1, 2019 at 2:56 am

    Thank you very much! This solved my problem in my site

    Reply
  12. Duong Nguyen says:
    Dec 11, 2018 at 11:26 am

    Hi everyone,

    I am scratching my head on this current issue with WordPress 5.0 logo uploading. The image file (59K) will upload to media no problem, but it WILL NOT show on the page, instead it would show my icon file instead. I don’t understand. I’ve tried resizing the size to 100px to no prevail.

    Could this be the theme fault? I am using OceanWP. I tried contacting my host and they recommend getting my logo designer to optimise it for WP5.0. Which doesn’t make sense. if anyone could please give me any leads to this issue. Thank you!

    Reply
  13. Famous Onyemah says:
    Nov 27, 2018 at 8:49 am

    I am still struggling to come to terms with WP.
    Please if I want my readers to …Read More » on a page, what widget do I use?

    Reply
    • WPBeginner Support says:
      Nov 27, 2018 at 8:55 am

      Hello,

      The read more link appears next to excerpts (summary) of a blog post. For that you will need to set them up. See our beginner’s guide on how to set up excerpts in WordPress .

      Reply
  14. Opirite says:
    Sep 3, 2018 at 11:52 pm

    Thank you, i tried many things on how to fix the problem but none worked until i tried your solution by changing the file permission as shown. Your solution to the problem worked for me. Again, a big thank you.

    Reply
  15. Michiel says:
    Jul 31, 2018 at 3:32 pm

    Hi all,

    Thanks for all your information and suggestions.
    I tried everything:
    – the 755,744,744 and 655 in filezilla. Nothing worked.
    – Media, upload etc. Also nothing.

    All of a sudden I could upload two images. And afterwards I tried the upload a 3rd image and now I am stuck with the same problem again. Every time I try to upload any image i get ‘ http-error’.

    Does anybody have some last advice?
    Help a no-knowledge-of-websitebuilding-person out!

    Thanks in advance! :)

    Reply
  16. Anais says:
    Jul 23, 2018 at 11:59 pm

    I have an issue that doesn’t seem to be addressed anywhere – there is no “Media” folder in my WordPress menu and I just can not figure out why and how to access it.

    I am just starting my blog and not even uploaded my theme yet. Any idea what could be the reason behind that?

    Thank you!

    Reply
  17. wisd says:
    Jul 3, 2018 at 4:27 pm

    i can not upload a media file to my WordPress

    Reply
  18. Manpreet says:
    Mar 8, 2018 at 7:11 am

    My permissions are 755 but unable to upload images

    Reply
  19. johaness says:
    Feb 8, 2018 at 2:04 am

    hi , how can I solve this problem. of inserting image in post, , after uploading pic. when I click on insert into post nothing happens

    Reply
    • WPBeginner Support says:
      Feb 10, 2018 at 10:48 am

      Hi Johaness,

      We are unsure what may be causing this issue. Please try steps mentioned in our WordPress troubleshooting guide to find out what’s causing this issue.

      Reply
    • Ravi Kant Singh says:
      Feb 26, 2018 at 11:14 pm

      Try clicking ‘file url’ button first it fetchs url, then click insert into post. Hope it works for you.

      Reply
  20. Ed S says:
    Jan 18, 2018 at 4:29 pm

    I tried this initially with 744. This stopped any images appearing at all for me on either wp-admin or my live website. Which was worrying and panic inducing!
    So then tried 755, and images are appearing again on my live website. Which is a relief.
    Still having exactly the same issue with uploading images though. Getting ‘http error’.

    Reply
    • Angelica Perduta says:
      Feb 10, 2019 at 1:30 pm

      Same problem here. for images over a certain size. They do appear in the media library but with no thumbnail and can’t be edited. Small images do work however.

      Reply
  21. JOY DUTTA says:
    Jan 15, 2018 at 6:36 am

    When i go for 744 all thumbnail are shown but uploading error remain
    but when i go for 755 thumbnail gone but uploading error solved..
    Now what shall i do.

    Reply
    • WPBeginner Support says:
      Jan 16, 2018 at 10:39 am

      Hi Joy,

      Please ask your hosting provider, they can also fix directory permissions issue for you.

      Reply
      • JOY DUTTA says:
        Jan 17, 2018 at 6:42 am

        Thanks for reply
        Today i checked also some images are uploaded but some images shown error in uploading

        Reply
  22. Joe says:
    Dec 28, 2017 at 10:14 am

    Thanks Edo, I worked it out.

    Reply
  23. Edo Escada says:
    Dec 28, 2017 at 5:32 am

    Hi,
    I did my way, solved very well

    Go to your hosting cPanel, go to PHP Version in the Software block..
    Go to PHP Options in the right button
    Edit to be like this :
    :
    memory_limit 1024M
    post_max_size 128M
    upload_max_filesize 64M

    Then back to cPanel frontpage

    Go to ModSecurity in the Security section
    Change to Disable for your domain.

    VOILAA !!!!

    Regards
    Let me know your success story

    Reply
    • Atif says:
      Jul 25, 2018 at 1:23 am

      Thanks a bunch dude, nothing else worked, but this PHP options setting worked for me.

      Reply
  24. Tom says:
    Dec 3, 2017 at 8:38 am

    If the issue is cropping up after transferring a site to a new domain this works for me:
    open the Settings menu, and select Media. If you see a file path with a textbox displaying where the files should be uploaded to, delete the text in the file path textbox, and click Save Changes once you’re done.

    No try uploading an image, should work fine.

    Reply
    • Katie says:
      Jan 17, 2018 at 6:47 pm

      Thanks – that solved my problem. The server path had somehow been defined in Settings > Media. Removed it and replaced with the default wp-content/uploads, saved and that fixed it :-)

      Reply
    • Gord says:
      Feb 10, 2018 at 2:24 pm

      Hi Tom,

      I just wanted to say thank you as well. Your post saved me a lot of grief! I used a plugin to migrate a site to a new provider. The tool is excellent, but in this instance were so many files in my uploads directory that I needed to exclude images and move them separately via ftp. I spent an hour carefully checking file permissions and ownership in the WordPress uploads directory until I came across your post. Sure enough, nder “Settings / Media” there was a hardcoded path valid only with my old hosting provider. Great post!

      Reply
    • Vu says:
      Jan 3, 2019 at 11:33 am

      Thank you very much. My problem was same and your solution was great

      Reply
    • ceesay says:
      Mar 28, 2019 at 8:40 pm

      Thank you, thank you, thank you!! This happened when I migrated this site. Hasn’t happened to any of the other sites I’ve migrated, but the Settings>Media path was exactly the problem.

      Reply
    • Pri Freire says:
      May 1, 2019 at 4:14 pm

      Thank you soooo much!

      Reply
  25. Mika Kaakinen says:
    Dec 1, 2017 at 10:31 pm

    Changing folder permissions to 755 resolved the issue for me. Thank you!

    Reply
  26. Vimal says:
    Nov 15, 2017 at 12:52 pm

    I am facing a very basic problem, i tried many theme but when i add an element on a fresh new page it show the default content of (pagename and the recent post widget is visible and other widgets are behind my element i.e Slider) behind my slider or hero image Guyz PLz Help me

    Reply
  27. Mark Hetherington says:
    Nov 9, 2017 at 10:58 am

    I must have read two dozen different fixes fir this image error thing, then found a solution that s far, far easier than anything else I have read. In fact here’s the solution in three words: Change your browser.

    Yep, that’s all I did. I’ve tried lots of different “solutions” with no joy, then just by chance I was working on a different computer one day, using Opera instead of Chrome (I’ve had the error with IE, Edge, Firefox etc. too) and I had no problem uploading my images. I’ve been using Opera for the purpose for months now and never had the HTTP error since.

    I’m not saying it will work for every occurrence but it’s got to be worth a try!

    Reply
    • Toon says:
      May 29, 2019 at 1:58 pm

      Wow! worked for me! Safari -> Chrome on OSX

      Reply
  28. pooja says:
    Oct 13, 2017 at 2:57 am

    I have problem ..I want somebody help me please..
    Some content of website like footer content are not displayed on chrome but it displayed on other web browser.I also change the Setting of chrome but its not work .So please help me…

    Reply
  29. Pooja says:
    Sep 12, 2017 at 3:12 am

    I have my old pictures in wordpress.
    But i’m unable to upload new images.

    Everytime i got this message….” Unable to create directory uploads/2017/09. Is its parent directory writable by the server”

    I tried all
    744
    755
    644
    but three of them didn’t works for me

    please tell any suggestion ?

    Reply
    • Heather says:
      Sep 21, 2017 at 4:46 pm

      Me too! I even thought I fixed the problem by increasing the upload size through the Media section under Settings and nope! You know what got it to work?

      Resizing my freaking images. Silly me thought I was doing that through the settings on WordPress, but nope!

      I have a Mac and I resized my large images to 1920×1080 or less and made sure my Media Settings allowed that and sure enough, it works! All those hours of frustration… *sigh* I hope that helps!

      Reply
      • Joe says:
        Dec 23, 2017 at 11:10 am

        I have no problem with inserting photos by doing so inside a paragraph and wraping text around it. But I cannot insert a larger photo in an area free of a paragraph. The size of the photo doesn’t change even though the file is larger. I changed the settings (media/settings) but nothing works. Can you help?

        Reply
        • WPBeginner Support says:
          Dec 25, 2017 at 4:15 pm

          Hi Joe,

          Here is a simple tip that you can try if you haven’t already tried it. Press the enter key twice after adding a paragraph. Click on the upload media button to upload your photo. In the right column, select Full Size and then click on the insert image button. As soon as photo appears in your visual editor, press the enter key twice and start typing.

  30. Alice says:
    Aug 4, 2017 at 8:15 pm

    It still doesn’t solve my problem. I recently moved my newly created website from a subdomain to my main domain and everything worked fine except for my uploads. I went to my optons.php and tried to change my upload path. I noticed that when I tried to upload a file, the file is not even in my folder, doesn’t show up in my media library as a thumbnail. However, when I clicked on the broken image and clicked “edit image,” the image actually showed up!!! How weird! How can I fix my problem?

    Reply
    • Melina says:
      Sep 13, 2017 at 5:26 am

      Hi Alice, I have exactly the same problem! I tried all the solutions that are given down but because my problem is with my multisite duplicates and not with the root site, none of them works. I can uploads the pictures, the sub-site recognizes they are there but shows just grey thumbnails. When I go to my ftp all access are correct and I have already tried changing the upload path. Nothing works! Could you solve your problem? What was the solution??

      Reply
      • Lakshya Mohan says:
        Mar 25, 2018 at 11:37 am

        Similar problem is occurring with me. I have tried everything but still no use. When I upload an image, I see a blank thumbnail clicking on which I see a blank preview, but if I click on edit then only I am able to see the image. When I put that image in any post I see a broken link.

        Reply
        • Chris Culver says:
          May 29, 2018 at 11:55 am

          did anyone find the solution to this issue. I am having the same occurrence with a cloned site that was created to work on for a site rebuild

  31. Rafia khan says:
    Jul 17, 2017 at 5:42 am

    Thank you so much for the help. It worked for me as well

    Reply
  32. Tammy says:
    Jul 14, 2017 at 6:17 pm

    I refreshed cache in WordPress and that fixed it.

    Reply
  33. mosh says:
    Jun 21, 2017 at 11:31 pm

    changing file permissions to 655 worked!

    Reply
  34. Temi says:
    May 26, 2017 at 12:51 pm

    This is what I did to mine:

    I have moved my main file from one folder to the other in same cPanel and done some redirection. I didn’t change the LINK in Media setting for folder location so rather than images being located in the folder for the current domain directory, it was searching for images in the folder off the current one.

    Just go to Settings in your wordpress dashboard, locate Uploading Files, Store uploads in this folder and check the directory (link) in that box. If the domain name is the old one you transferred from, then change it to your current one and save. Try upload images again and you would be glad.

    Reply
    • Robert says:
      Jul 29, 2017 at 8:25 am

      Thanks to the author and also Temi, both your tips helped fixed my issue. I initially created my WP site in a subdirectory as well and subsequently moved it to the root folder to go live, not realising that Media settings was one of the places where I needed to update with the new URL to remove the subdirectory.

      Just to clarify for everyone else, the Uploading Files field is under Settings > Media.

      Reply
    • Melvin W. says:
      Sep 26, 2017 at 7:15 pm

      Temi you are my hero!

      Reply
    • Balram N. says:
      Mar 26, 2018 at 5:45 am

      Temi, you are godlike. The uploads folder path setting on WP was the freaking issue!!!! Thank you so much.

      Reply
  35. Alex mwailu says:
    May 19, 2017 at 5:04 am

    I am proud to solve your problems people…Just Login to your Cpanel and deactivate ModSecurity, just deactivate it.then you will be able to upload your images comfortablly

    Reply
    • Dominic says:
      Jun 9, 2017 at 12:30 pm

      Thanks Man, you just saved me, But is there any Disadvantage of Disabling Mod Security

      Reply
  36. Lee Pascoe says:
    May 18, 2017 at 8:52 am

    My images have uploaded into the media library, with no error messages and no permission problem.
    However, when I click Insert into Post, it remains blank.
    In Manage Products, there is a series of icons saying “No Image”
    I have tried this several times, and have 6 of the same images in the Media library, (which I can’t delete!) but still no images on the product page.
    I have tried this with 4 different pictures for 4 different products.
    Help!

    Reply
  37. Divine Raphael says:
    May 13, 2017 at 11:18 pm

    The fiirst step worked perfectly well for me!!! Thanks WP Beginner

    Reply
  38. Paul Keating says:
    May 13, 2017 at 7:27 am

    If this problem seems to be only when using google chrome- I found the answer to cure this problem as follows:

    Go to settings on chrome- if you are signed in to chrome- sign out. reset the browser, clear the cache, reboot the machine and use chrome without signing in- presto !!!

    You should now be able to upload images using the normal way. let me know if this works for you !

    Reply
  39. Dheeraj Soni says:
    Apr 19, 2017 at 5:11 am

    Hello,

    I have been facing the issue of new image uploads being shown broken. I tried changing values from 755 to 744 & 711 & did 644 as well as as 655 but the issue is still persisting.. please suggest me how do i get this resolved?

    Reply
  40. Mayaprakash Pant says:
    Apr 8, 2017 at 6:23 am

    Hey, while I’m trying to upload images, it shows an error message:
    “Image Upload Error. Precondition Failed”
    How To Solve This?

    Reply
  41. joe says:
    Apr 4, 2017 at 3:24 pm

    I’m having a strange issue related to this that i dont see anything similar in the thread. I uploaded a few images just fine a couple weeks ago. we were updated to the latest WP version at the time. Today I am going to upload images and the progress bar begins, and then just sticks at about 25%. never moves from there. I get no error message or anything. But when i click to leave page it just leaves – there is no “do you want to leave page while…” message. and then when i come back there is no progress bar or anything. The image is simply not there, no is there any indication i tried to upload it. I didn’t change anything in the settings between the time when i could upload images, and i tried deactivating the only plugin i installed and it did nothing.

    Reply
  42. Sandeep says:
    Apr 2, 2017 at 12:45 am

    I have a different problem

    When i want to upload pictures, i’m not even getting the folder to select the image. Please help me out

    Reply
  43. Ahson says:
    Mar 16, 2017 at 11:32 am

    I am facing the image issue with FEW images on my WP website. When I tried to change the permission to 744, ALL of the images were GONE. Please assist how I can have these images appear again.

    Also, I am not using FTP, I am directly changing from Godady hosting panel.

    Reply
    • sherin says:
      Mar 29, 2017 at 1:29 am

      Please change numeric value as 755 then your pictures will appear gain

      Reply
    • thor says:
      Apr 5, 2017 at 7:07 am

      Hi, guys, this is how I fix the image issue in WordPress library

      In cPanel, in the Files section, click File Manager.
      Select the button for Web Root (public_html/www).
      hit the setting icon in the right
      Place a checkmark in the box titled Show Hidden Files (dotfiles).
      Click Go.
      Review the numbers listed under the Perms column in File Manager.
      Directories and folders should be set to 755.
      Executable scripts within the cgi-bin folder must be set to 755.
      Images, media, and text files like HTML should be set to 644.
      Or you check the htaccess file by following this:

      Bad .htaccess, Invalid Command

      In the (dot) htaccess file, you may have added lines that are either worded incorrectly or conflicting with another coding in the file. The best way to troubleshoot this is to comment out the lines in the .htaccess file.

      Always make a copy of the .htaccess file before making any changes to it.
      You can comment out a line in the .htaccess file by adding # to the beginning of that particular line. For example, if the code in the .htaccess file looks like:

      DirectoryIndex default.html
      AddType application/x-httpd-php5 php
      Then, try commenting it out like so:

      DirectoryIndex default.html
      #AddType application/x-httpd-php5 php
      Broken lines and lines that start with php_flags are the most common mistakes. If you cannot determine which line is the problem, then comment out every line.

      usually, the problem come from the line whit the jpg, png, in the code tray to comment this line like so (add # in front of the code line ) and then save
      go to your library and tray to upload a picture

      Reply
  44. Sara says:
    Mar 10, 2017 at 5:30 am

    Hi,

    We have recently got hacked and figured out that the images weren’t showing because the uploads folder was missing in Filezilla. We tried creating a new folder but it disappears as soon as we refresh. I can upload images in wordpress but they are seen as broken. Is there any way to fix this problem?

    Your help is greatly appreciated!

    Sara

    Reply
  45. Naomi Kroneck says:
    Mar 6, 2017 at 10:21 am

    Hello,

    We have been trying to update the pictures on our website because they are outdated. We have several different pages that also have videos and when I try to update the pictures on those pages the videos disappear. But as soon as I delete the new pictures the videos come back. I am not sure what is going on.

    Reply
    • WPBeginner Support says:
      Mar 6, 2017 at 4:46 pm

      Hi Naomi,

      Please follow our step by step WordPress troubleshooting guide to figure out what’s causing this issue.

      Reply
  46. pule says:
    Feb 28, 2017 at 7:05 am

    Hi, my media library images are all broken and even if I upload new ones .. I tried changing permissions on c panel to 744, 755, 655 but still no changes on building on page builder …how do I fix this problem

    Reply
    • WPBeginner Support says:
      Mar 1, 2017 at 2:18 pm

      Hi Pule,

      You will need to change all file permissions to 644.

      Reply
      • Musab says:
        May 17, 2017 at 1:26 pm

        Hi WpBeginner Support ,

        what do you mean by changing all file permission to 644 , like all files on my website ? or just upload file and his children ?

        I’m facing the same issue and no solution worked for me till now , when I tried to change image format to bmb it works !

        please anyone know how to fix this tell us .

        Reply
  47. Mandy says:
    Feb 23, 2017 at 2:38 pm

    I changed my file permissions to 655 and that worked! So happy it’s fixed such a relief! Thanks for the article!

    Reply
    • WPBeginner Support says:
      Feb 23, 2017 at 9:20 pm

      Hey Mandy,

      You are welcome. We are glad you found it helpful :)

      Don’t forget to follow us on Facebook for more WordPress tips and tutorials.

      Reply
  48. Mark says:
    Feb 13, 2017 at 9:23 am

    I had this problem and tried the above solution but it did not work. What I did was in the Settings/Media area of my WordPress Admin Dashboard I unchecked the option to organise my uploads into month- and year-based folders and after that it worked fine!

    Reply
  49. Dave Hamelink says:
    Jan 3, 2017 at 3:15 pm

    Hello,

    I am currently experiencing issues when trying to upload a new image to the media library. It gives the error: error during uploading, please try again later.

    I tried everything, changing permissions in the FTP server, de-activating plugins, and reinstalling WordPress. I am currently using WordPress 4.7.

    Can someone please help me?

    regards,

    Dave

    Reply
    • Karen Field says:
      Jan 30, 2017 at 7:11 pm

      I am having the same issue and have no clue on how to fix it!

      Reply
  50. dipto says:
    Dec 27, 2016 at 4:56 pm

    You guys are really boss. Keep it up bro :D

    Reply
« 1 2 3 4

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
WPForms Logo
WPForms
Drag & Drop WordPress Form Builder Plugin. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 25 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2019 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2019)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2019)
    • SiteGround Reviews from 1032 Users & Our Experts (2019)
    • Bluehost Review from Real Users + Performance Stats (2019)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • 7 Best CRM Software for Small Businesses (Compared)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2019 – Step by Step Guide
Deals & Coupons (view all)
WPEngine
WP Engine Coupon
Get 20% OFF on all WP Engine hosting plans or 4 months free on annual payment.
Visual Composer
Visual Composer Coupon
Get 20% OFF on Visual Composer WordPress page builder plugin.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress

Copyright © 2009 - 2019 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by HostGator | WordPress CDN by MaxCDN | WordPress Security by Sucuri.