{"id":2021339,"date":"2024-07-25T11:27:26","date_gmt":"2024-07-25T11:27:26","guid":{"rendered":"https:\/\/wpx.net\/blog\/?p=2021339"},"modified":"2025-01-31T08:25:56","modified_gmt":"2025-01-31T08:25:56","slug":"cant-upload-images-fixing-wordpress-image-upload-problems","status":"publish","type":"post","link":"https:\/\/wpx.net\/blog\/cant-upload-images-fixing-wordpress-image-upload-problems\/","title":{"rendered":"Can&#8217;t Upload Images? Fixing WordPress Image Upload Problems"},"content":{"rendered":"\n<p>Working and updating your site is very important when it comes to maintaining online presence and providing something constantly new for your visitors. Uploading images is one of the keys to making your pages more readable and making people \u201ccatch interest\u201d in what they are reading. There are a lot of common issues connected to uploading a specific image to your WordPress website and we will go through all of them with the common solutions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Possible_causes_for_WordPress_Image_Upload_Issues\"><\/span>Possible causes for WordPress Image Upload Issues<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Like every issue we stumble upon in WordPress, we need to first understand it, before we try to tackle it with different fixes. This issue in most cases would be caused from incorrect <strong>file permissions<\/strong> or lack of <strong>disk space<\/strong> on your hosting plan.&nbsp;<\/p>\n\n\n\n<p>To go in more detail, the file permissions on your website can be changed at any time and they can either allow external access, meaning uploading an external image which is part of the task you would be doing and block not only updating but editing any kind of files without root access to the server.<\/p>\n\n\n\n<p>Other more rare causes are connected to specific plugins or builders which affect the built-in WordPress Importer Tool for images.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_fix_Image_Upload_issue\"><\/span>How to fix Image Upload issue<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The first thing to do is check and set the correct website <strong>file permissions<\/strong>. To do that, you can simply use our built-in <a href=\"https:\/\/kb.wpx.net\/how-can-i-access-my-file-manager\/\"><strong>File Manager<\/strong><\/a> and locate the main <strong>Uploads <\/strong>folder which holds all of your images. The path should be within the main installation of your site: <strong>public_html\/wp-content\/uploads<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1593\" height=\"1142\" src=\"https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/image-40.png\" alt=\"image upload issue\" class=\"wp-image-2021342\" srcset=\"https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/image-40.png 1593w, https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/image-40-300x215.png 300w, https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/image-40-1024x734.png 1024w, https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/image-40-768x551.png 768w, https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/image-40-1536x1101.png 1536w\" sizes=\"auto, (max-width: 1593px) 100vw, 1593px\" \/><\/figure>\n\n\n\n<p>Once you have located your uploads folder, the next thing is to set the correct file permissions for it. To do that, you need to <strong>Select <\/strong>(1) the folder by ticking the white box next to it and going through the built in <strong>Tools <\/strong>(2)<strong> <\/strong>option and select <strong>Chmod Selected<\/strong> (3):<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXc4R6be0ep8Eu8Rg-HsbacFOJziNkFj3_QFsk9eKSadIvV2YZAAFLbovm47z7IpZkj8mV57u_IGKzkKHRDlLINYwD7b89CpTDlskaLHnfc28Omkv3cBJ4etEXTSPWqv5i_-Tp2STGwFyAEBbV2HH4wv9viX?key=gICCpg7JaJ1SKTwmG3qjQA\" alt=\"fix image upload issue\"\/><\/figure>\n\n\n\n<p>You will see a pop-up field with all the permissions which can be customized or a specific code can be set up to automatically fill them in. File Permissions have specific codes that represent a pre-set of rules that allow or blow certain access. The main goal here is to allow permissions for external uploads to the website such as images.<\/p>\n\n\n\n<p>The correct file permission code that we recommend for that is <strong>744<\/strong>. This code allows external image uploads to the folder but restricts access to it through the browser for non-logged in users or external visitors which is optimal for security. You need to <strong>input the code <\/strong>(1) and select <strong>Change <\/strong>(2) to propagate the changes:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1374\" height=\"994\" src=\"https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/image-41.png\" alt=\"code 744 - external image upload\" class=\"wp-image-2021343\" srcset=\"https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/image-41.png 1374w, https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/image-41-300x217.png 300w, https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/image-41-1024x741.png 1024w, https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/image-41-768x556.png 768w\" sizes=\"auto, (max-width: 1374px) 100vw, 1374px\" \/><\/figure>\n\n\n\n<p>Job well done. You will have the correct permissions for the folder responsible for all image uploads on your WordPress site.<\/p>\n\n\n\n<p>If the issue persists, you need to check if you have enough <strong>disk space<\/strong> on your hosting plan. To check if your disk space is full or not, you can again use the File Manager or check the main server details in your WPX Account.<\/p>\n\n\n\n<p>To check them through the File Manager, you simply need login your WPX Account, navigate to File Manager and then check the top bar, where all the options, including disk usage used and free are displayed:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcFEmAh4hyLtBhFlpVTCUNmJugMpcls34qbcJ2FrupA_Bz4jTojvOxV9wasJSxCZjqxfU9b9qxbx8CXh0IzKOB8pbL2IB626a43pTbPZlYy0XxTFpvHN1HueTyE2B8g-n8_RY3yiuMzNRce2bMl_2Qmipsv?key=gICCpg7JaJ1SKTwmG3qjQA\" alt=\"fixing image upload issue\"\/><\/figure>\n\n\n\n<p>Another topic of discussion is having very large images which can be the cause of another issue connected to an uploading error. For that to be fixed, you need to manage and upgrade your <strong>Maximum Upload File Size Limit<\/strong>. That usually is set by default for most hosting providers at 32 or 64 MB. Anything larger than that, will trigger an error and will not upload on your WordPress website.<\/p>\n\n\n\n<p>To upgrade your size limit, you need to contact WPX Support Agents which are available 24\/7, so that they can do it for you. The reason for that is the server file <strong>php.ini<\/strong> which has restricted access for security reasons and has most of the server\/site limits.<\/p>\n\n\n\n<p>Another common error connected to uploading images is &#8220;<a href=\"https:\/\/wpx.net\/blog\/fix-installation-failed-could-not-create-directory\/\" data-type=\"link\" data-id=\"https:\/\/wpx.net\/blog\/fix-installation-failed-could-not-create-directory\/\">Installation failed: Could not create directory<\/a>&#8220;.<\/p>\n\n\n\n<p>That\u2019s it! We went through and covered most of the common issues and fixes for uploading images on WordPress.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Working and updating your site is very important when it comes to maintaining online presence and providing something constantly new for your visitors. Uploading images is one of the keys to making your pages more readable and making people \u201ccatch interest\u201d in what they are reading. There are a lot of common issues connected to [&hellip;]<\/p>\n","protected":false},"author":29,"featured_media":2021340,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","footnotes":""},"categories":[86],"tags":[138,145,158,139,121],"ppma_author":[150],"class_list":["post-2021339","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-guide","tag-how-to","tag-image-upload-issue","tag-step-by-step","tag-wordpress"],"blocksy_meta":[],"authors":[{"term_id":150,"user_id":29,"is_guest":0,"slug":"svetlozar-todorov","display_name":"Svetlozar Todorov","avatar_url":{"url":"https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/Profile-Picture.png","url2x":"https:\/\/wpx.net\/blog\/wp-content\/uploads\/2024\/07\/Profile-Picture.png"},"0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/wpx.net\/blog\/wp-json\/wp\/v2\/posts\/2021339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpx.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpx.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpx.net\/blog\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/wpx.net\/blog\/wp-json\/wp\/v2\/comments?post=2021339"}],"version-history":[{"count":3,"href":"https:\/\/wpx.net\/blog\/wp-json\/wp\/v2\/posts\/2021339\/revisions"}],"predecessor-version":[{"id":2021993,"href":"https:\/\/wpx.net\/blog\/wp-json\/wp\/v2\/posts\/2021339\/revisions\/2021993"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpx.net\/blog\/wp-json\/wp\/v2\/media\/2021340"}],"wp:attachment":[{"href":"https:\/\/wpx.net\/blog\/wp-json\/wp\/v2\/media?parent=2021339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpx.net\/blog\/wp-json\/wp\/v2\/categories?post=2021339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpx.net\/blog\/wp-json\/wp\/v2\/tags?post=2021339"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/wpx.net\/blog\/wp-json\/wp\/v2\/ppma_author?post=2021339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}