Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Wie man das Problem des Bild-Uploads in WordPress behebt (Schritt für Schritt)

Hinweis der Redaktion: Wir erhalten eine Provision für Partnerlinks auf WPBeginner. Die Provisionen haben keinen Einfluss auf die Meinung oder Bewertung unserer Redakteure. Erfahre mehr über Redaktioneller Prozess.

Haben Sie Probleme beim Hochladen von Bildern auf Ihrer WordPress-Website?

Für die meisten Anfänger können Fehler beim Hochladen von Bildern ziemlich verwirrend sein, da sie auftreten können, ohne dass Sie etwas anderes tun. Tatsächlich ist das Versagen beim Hochladen von Bildern eines der häufigsten Bildprobleme in WordPress. Zum Glück ist es recht einfach zu beheben, und Sie können es selbst tun.

In diesem Artikel zeigen wir Ihnen, wie Sie das Problem des Bild-Uploads in WordPress beheben können.

Fixing image upload issues in WordPress

Video-Anleitung

Subscribe to WPBeginner

Wenn Sie eine schriftliche Anleitung bevorzugen, lesen Sie bitte weiter.

Was verursacht das Problem des Bild-Uploads in WordPress?

Das Problem beim Hochladen von Bildern in WordPress wird in der Regel durch falsche Dateiberechtigungen verursacht. Ihre WordPress-Dateien werden auf Ihrem Webhosting-Server gespeichert und benötigen bestimmte Datei- und Verzeichnisberechtigungen, um zu funktionieren.

Falsche Dateiberechtigungen hindern WordPress daran, Dateien auf dem Hosting-Server zu lesen oder hochzuladen. Sie können den folgenden WordPress-Fehler erhalten, wenn Sie eine Bilddatei hochladen:

Das Verzeichnis wp-content/uploads/2019/04 kann nicht erstellt werden. Ist das übergeordnete Verzeichnis vom Server beschreibbar?‘

Unable to create directory error

Oder Sie sehen den Fehler:

Die hochgeladene Datei konnte nicht nach wp-content/uploads/‘ verschoben werden.

Ein weiteres Anzeichen für dieses Problem ist, dass Ihre Bilder aus der WordPress-Mediathek verschwinden.

Missing images in media library

Meine Website hat vorher gut funktioniert. Wer hat die Dateiberechtigungen geändert?

Dies kann aus verschiedenen Gründen geschehen. Eine Fehlkonfiguration auf Ihrem Shared-Hosting-Server kann manchmal diese Berechtigungen ändern, ohne dass Sie etwas tun.

Ihr Webhosting-Anbieter hat beispielsweise ein Upgrade durchgeführt, bei dem die Dateiberechtigungen unerwartet geändert wurden.

Wenn alles andere auf Ihrer WordPress-Website einwandfrei funktioniert, können Sie einfach die richtigen Dateiberechtigungen anwenden, um das Problem mit dem Bild-Upload zu beheben.

Sehen wir uns also an, wie man die richtigen Dateiberechtigungen einstellt, um Probleme beim Hochladen von Bildern auf Ihrer WordPress-Website zu beheben.

Behebung des Bild-Upload-Problems in WordPress

Um die Dateiberechtigungen zu ändern, müssen Sie einen FTP-Client verwenden.

Verbinden Sie sich zunächst per FTP mit Ihrer Website und wechseln Sie dann zum Ordner /wp-content/. Darin finden Sie den Ordner uploads, in dem WordPress alle Ihre Medien-Uploads, einschließlich Bilder, speichert.

Klicken Sie nun mit der rechten Maustaste auf das Uploads-Verzeichnis und wählen Sie „Dateiberechtigungen“.

Opening file permissions dialog box for uploads folder

Daraufhin wird das Dialogfeld für die Dateiberechtigungen angezeigt.

Zunächst müssen Sie die Dateiberechtigungen für das Uploads-Verzeichnis und alle darin enthaltenen Unterverzeichnisse auf „744“ setzen.

Change folder permissions

Geben Sie dazu in das Feld für den numerischen Wert 744 ein und aktivieren Sie das Kontrollkästchen neben „In Unterverzeichnissen rekursieren“. Klicken Sie nun auf das Optionsfeld Nur auf Verzeichnisse anwenden.

Klicken Sie auf die Schaltfläche „OK“, um diese Änderungen zu übernehmen. Ihr FTP-Client wendet nun die Dateiberechtigungen auf die Verzeichnisse an.

Hinweis: Wenn die Einstellung der Verzeichnisberechtigungen auf 744 Ihr Problem nicht zu lösen scheint, versuchen Sie 755.

Im nächsten Schritt müssen Sie die Dateiberechtigungen für alle Dateien im Uploads-Verzeichnis festlegen.

Klicken Sie dazu mit der rechten Maustaste auf das Uploads-Verzeichnis und wählen Sie Dateiberechtigungen. Ändern Sie im Dialogfeld für die Dateiberechtigungen den numerischen Wert auf „644“.

Aktivieren Sie das Kästchen neben „In Unterverzeichnissen rekursieren“. Als nächstes müssen Sie auf das Optionsfeld Nur auf Dateien anwenden“ klicken.

Klicken Sie abschließend einfach auf die Schaltfläche „OK“, um die Änderungen zu übernehmen.

File permissions

Der FTP-Client ändert nun die Berechtigungen für alle Dateien im Ordner uploads. Sobald dies geschehen ist, können Sie zurück in den WordPress-Administrationsbereich gehen und erneut versuchen, Bilder hochzuladen.

Wenn Sie auf Ihrer Website Formulare zum Hochladen von Dateien haben, sollten Sie auch diese testen.

Hinweis: Wenn Sie nicht wissen, wie man einen FTP-Client benutzt, können Sie auch den Dateimanager Ihres WordPress-Hosters verwenden. Da die Screenshots bei jedem Hoster unterschiedlich sind, müssen Sie sich an den Support wenden, um Anweisungen zu erhalten.

Wir hoffen, dass dieser Artikel Ihnen geholfen hat, das Problem mit dem Hochladen von Bildern in WordPress zu lösen. Vielleicht interessiert Sie auch unser Artikel über die Auswahl des besten WordPress-Hostings oder unser Vergleich der besten GoDaddy-Alternativen.

Wenn Ihnen dieser Artikel gefallen hat, dann abonnieren Sie bitte unseren YouTube-Kanal für WordPress-Videotutorials. Sie können uns auch auf Twitter und Facebook finden.

Offenlegung: Unsere Inhalte werden von unseren Lesern unterstützt. Das bedeutet, dass wir möglicherweise eine Provision verdienen, wenn Sie auf einige unserer Links klicken. Mehr dazu erfahren Sie unter Wie WPBeginner finanziert wird , warum das wichtig ist und wie Sie uns unterstützen können. Hier finden Sie unseren redaktionellen Prozess .

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Das ultimative WordPress Toolkit

Erhalte KOSTENLOSEN Zugang zu unserem Toolkit - eine Sammlung von WordPress-bezogenen Produkten und Ressourcen, die jeder Profi haben sollte!

Reader Interactions

297 KommentareEine Antwort hinterlassen

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Didier says

    Let’s add the fact that WordPress creates a new folder each month, in wp-content/uploads.
    Probably, when the new folder is automaticaly created, it hasn’t the correct permissions :

    We have to modify the permissions each month.

    • WPBeginner Support says

      That should not normally be the case, we would recommend checking with your hosting provider to ensure they don’t have a security setting that could be the root of that issue.

      Admin

  3. Zoe says

    Hello,
    I am trying to upload several photos to my website page, and keep getting the message below:
    „The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels.“
    I have compressed the image multiple times, shrinking the size and optimizing it, yet I continue to receive this message even after shutting down the browser and starting again. Can you please advise me on how to upload these files? Thank you!

  4. Paul says

    Please I am trying to upload images from my computer for my blog it is telling me( „The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels. „).. please what can I do

  5. Michelle says

    Yes!!! This was absolutely helpfuul and helped me fix the problem! Thank you so much! I am not a hard core computer person. I have just started my blog on WordPress so at the end of the day, I know it is me that has to handle any issues with it! Thannk you so much!!! This was awesome!

  6. Vinay Golchha says

    when i upload image nmy form it say „something wentwrong, please try again“ .

    can u please help how to fix this issue?

    • WPBeginner Support says

      If none of our methods are working for you, we would recommend reaching out to your hosting provider to ensure there isn’t an error on their end.

      Admin

  7. Mary says

    I’m encountering the same issue only the fix that is suggested is not working. Is there something else that can be done?

  8. Matthew says

    First try to check PHP interpreter version on your server. If it 7.4 – this may cause problems. Change it to 7.3.

    • WPBeginner Support says

      Thank you for sharing that for some users who may be stuck with this error, for beginners we recommend reaching out to their hosting provider for checking if that is an issue. :)

      Admin

  9. Moni says

    Images to my wordpress site seem to upload correctly but then then disappear and an icon for broken image link appears. In the media library the image shows as a gray block. If I try to edit the image then I can see the image but when I save it again it’s gray again. I checked my permissions and the are set to 755.

    • WPBeginner Support says

      You may want to try updating to 744 and if that does not work, reach out to your hosting provider and they can normally assist.

      Admin

    • WPBeginner Support says

      Some hosting providers have a file manager that acts as an FTP but it would depend on your host for what is available.

      Admin

    • WPBeginner Support says

      For local installations, you would right-click the folder and go under Properties>Security to change the permissions.

      Admin

  10. Lucas says

    Hello
    FTP permissions are fine, when I try to upload, the original file goes to the FTP Uploads folder, but WordPress does not recognize it and displays error on upload, try again later

    Any tips?

  11. Adams says

    “Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.“

    I keep getting the above error whenever I try to upload an image to my newly installed WordPress.

    Please advise on how to solve it. Thank you.

  12. Anita Hiltz says

    I’m not sure this will solve my problem. I have an educational website and we give away free books and educational materials. Recently I uploaded a PDF document (a chart) into my library, put it in 2 of my web pages, and created the link to open it. That was fine, but later, I decided to improve the document, took it off, recreated it and uploaded it again to the library. The original document was deleted completely from my own files, but when I upload it to my website it comes up with the OLD document. Somehow the „delete permanently“ feature within the library is NOT actually deleting it. HELP!

  13. Evie says

    I just wanted to say, thank you so much for all the help you provide. I sometimes experience odd occurrences on my website, and when I Google the problem, your website always seems to simply answer my concerns.

    Keep up the excellent work!

  14. Kyree H says

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

    • WPBeginner Support says

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

      Admin

  15. Muhammad Adil says

    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.

  16. Kristina says

    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.

    • WPBeginner Support says

      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.

      Admin

  17. Nicole says

    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.

  18. James Howlett says

    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?

  19. sandra willie says

    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!

    • WPBeginner Support says

      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.

      Admin

  20. Jessica says

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

    • WPBeginner Support says

      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.

      Admin

  21. Alexandru says

    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?

    • WPBeginner Support says

      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.

      Admin

  22. Duong Nguyen says

    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!

  23. Famous Onyemah says

    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?

  24. Opirite says

    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.

  25. Michiel says

    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! :)

  26. Anais says

    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!

  27. johaness says

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

  28. Ed S says

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

    • Angelica Perduta says

      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.

  29. JOY DUTTA says

    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.

  30. Edo Escada says

    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

  31. Tom says

    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.

    • Katie says

      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 :-)

    • Gord says

      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!

    • ceesay says

      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.

  32. Vimal says

    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

  33. Mark Hetherington says

    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!

  34. pooja says

    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…

  35. Pooja says

    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 ?

    • Heather says

      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!

      • Joe says

        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?

        • WPBeginner Support says

          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.

  36. Alice says

    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?

    • Melina says

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

      • Lakshya Mohan says

        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.

        • Chris Culver says

          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

Eine Antwort hinterlassen

Danke, dass du einen Kommentar hinterlassen möchtest. Bitte beachte, dass alle Kommentare nach unseren kommentarpolitik moderiert werden und deine E-Mail-Adresse NICHT veröffentlicht wird. Bitte verwende KEINE Schlüsselwörter im Namensfeld. Lass uns ein persönliches und sinnvolles Gespräch führen.