Fel vid uppladdning av bilder kan vara frustrerande, särskilt för nybörjare. Ena stunden fungerar allt som det ska och i nästa stund kan du inte ladda upp en bild utan att du behöver göra några ändringar.
Detta är faktiskt ett av de vanligaste bildproblemen i WordPress. Den goda nyheten är att det är enklare än du kanske tror att åtgärda det.
Vi har stött på otaliga problem med bilduppladdning på våra egna WordPress-webbplatser, så vi vet hur irriterande dessa fel kan vara. Lyckligtvis innebär detta också att vi känner till flera metoder för att felsöka och åtgärda dessa problem.
I den här artikeln guidar vi dig genom stegen för att åtgärda problem med bilduppladdning i WordPress. Följ med, så kommer du att kunna ladda upp bilder igen på nolltid.
Vad orsakar problemet med uppladdare av images i WordPress?
Det finns några vanliga orsaker till att du kan ha problem med att ladda upp bilder i WordPress.
För det första kan problem med olika webbläsare vara en faktor. Ibland går det bra att ladda upp en bild i en webbläsare, men inte i en annan. Olika webbläsare hanterar filuppladdningar på olika sätt, vilket kan leda till problem.
Ogiltiga filnamn kan också orsaka problem. Om ditt bildfilnamn innehåller specialtecken eller mellanslag kan det hända att WordPress inte accepterar det. Därför rekommenderar vi att du alltid använder enkla filnamn med bokstäver, siffror och bindestreck.
Cachen kan också störa bilduppladdningar. En föråldrad cache kan orsaka alla möjliga problem, så att rensa webbplatsens cache kan lösa uppladdningsproblem.
Dessutom kan vissa plugins komma i konflikt med bilduppladdningsprocessen. Ett plugin kan orsaka ett problem utan att du inser det. Till exempel kan inställningarna eller funktionerna i ett plugin ibland störa uppladdningsfunktionen.
Eller så kan det vara ditt tema som är boven i dramat. Vissa teman är inte byggda på rätt sätt och kan störa uppladdningen av bilder. Ett dåligt kodat tema kan skapa konflikter och fel som förhindrar lyckade uppladdningar.
Det kan också bero på felaktiga filbehörigheter. Detta innebär att WordPress inte kan skriva till din uppladdningsmapp och att du kommer att få fel under uppladdningen om behörigheterna inte är korrekt inställda.
Slutligen kan det vara ett problem med minnesgränsen. Om din webbplats inte har tillräckligt med minne tilldelat av din värdtjänst kan den inte hantera stora filer. Detta kan leda till uppladdningsfel eller ofullständiga uppladdningar.
Vill du inte hantera bildproblem på egen hand? Låt experterna på WPBeginner Pro Services hjälpa dig! Vi erbjuder prisvärd Emergency WordPress Support för att snabbt åtgärda WordPress bildproblem eller andra fel. Sluta stressa över din webbplats och få den omhändertagen. Kolla in WordPress Support Services idag!
Video Tutorial
Om du föredrar skriftliga instruktioner kan du fortsätta läsa.
Fixa problemet med uppladdning av image i WordPress
Att förstå de vanligaste orsakerna till problem med bilduppladdning i WordPress är det första steget. Och nu när du känner till några av de vanligaste orsakerna till problem med bilduppladdning i WordPress, ska vi visa dig hur du åtgärdar dem.
Här är en snabb översikt över alla de tips som vi kommer att ta upp i den här guiden:
Är du redo? Låt oss komma igång.
Tips 1: Ladda om sidan eller testa med en annan webbläsare
Först och främst kan problemet oftast lösas genom att ladda om sidan. Det kanske låter som en enkel lösning, men det fungerar ofta.
Problemet med bilduppladdningen kan orsakas av att din inloggningssession löper ut. Om detta händer kommer du att loggas ut om du laddar om sidan eller navigerar tillbaka från en annan flik. Du kommer att behöva logga in igen.
Problemet kan också bero på att WordPress förlorar sin anslutning till webbläsaren. Detta kan bero på problem med din internetleverantör eller tillfälliga problem med din WordPress-host. Om du laddar om sidan och laddar upp bildfilen på nytt kan detta fel lösas.
Andra gånger kan problemet med uppladdning av bilder vara webbläsarrelaterat. Du kanske vill prova att ladda upp din bild med en annan webbläsare. Detta kan hjälpa dig att identifiera om problemet är specifikt för din nuvarande webbläsare.
Tips 2: Ladda upp bilden på nytt via mediebiblioteket
Om problemet kvarstår efter att du har laddat om sidan eller bytt till en annan webbläsare, kanske du ska försöka ladda upp bilden på nytt via mediebiblioteket.
Så istället för att ladda upp bilden direkt via inlägget eller sidan, vill du gå till Media ” Lägg till ny mediefil från din WordPress instrumentpanel .
Klicka sedan på ”Välj filer” och försök ladda upp bilden där.
Detta kan ibland lösa problemet.
Tips 3: Byt namn på din bildfil
Om ditt bildfilnamn innehåller mellanslag kan det hända att WordPress avvisar det. Du bör också undvika att använda specialtecken som ”#”, ”!” eller ”@”. Dessa tecken kan skapa problem eftersom webbservrar och webbläsare kanske inte stöder dem.
Så låt oss se till att du byter namn på din bildfil till något enkelt och okomplicerat. Du vill bara använda bokstäver, siffror och bindestreck.
I stället för ”min bild #1!.jpg” kan du till exempel byta namn på den till ”min-bild-1.jpg”.
Tips 4: Rensa din cache
En föråldrad cache kan leda till olika problem, bland annat problem med uppladdning av bilder.
Cachelagring används för att snabba upp webbplatsen genom att kopior av innehållet lagras, men det kan ibland orsaka konflikter. En föråldrad eller skadad cache kan hindra nya uppladdningar från att identifieras eller behandlas korrekt.
Att uppdatera cacheminnet kan ofta lösa problemet genom att säkerställa att din webbplats bearbetar den nya uppladdningen utan att några gamla, motstridiga data kommer i vägen.
Lyckligtvis är det enkelt att rensa webbplatsens cache. Detta kan vanligtvis göras via ditt cachningsplugin, som WP Rocket, eller din hostingleverantörs kontrollpanel.
Då kanske du också vill rensa webbläsarens cache. Din webbläsare lagrar kopior av webbsidor, inklusive bilder, för att ladda webbplatser snabbare nästa gång du besöker dem. Det är därför en föråldrad webbläsarcache kan orsaka problem med nya uppladdningar.
För att rensa webbläsarens cache måste du vanligtvis gå in i webbläsarens inställningar, hitta alternativet för att rensa surfdata eller cache och välja det.
För mer information om hur du rensar cachen kan du se vår guide om hur du rensar din WordPress-cache. När cachen har rensats kan du fortsätta och försöka ladda upp bilden igen.
Tips 5: Kontrollera om det finns problem med plugins och teman
Ibland uppstår det konflikter mellan plugins eller teman och bilduppladdningsprocessen. Detta kan bero på att vissa plugins eller teman inte är helt kompatibla med den senaste versionen av WordPress eller med varandra.
För att diagnostisera och åtgärda detta måste du utföra några felsökningssteg.
Först måste du avaktivera alla dina plugins. Detta gör du genom att gå till avsnittet ”Plugins” i instrumentpanelen i WordPress och välja ”Avaktivera” för varje plugin.
Du kan också avaktivera dem alla samtidigt.
För mer detaljerade instruktioner kan du läsa vår guide om hur du enkelt avaktiverar WordPress-plugins.
Därefter kan du byta till ett standardtema, till exempel Twenty Twenty-One.
Du kan göra det genom att gå till Utseende ” Teman i din WordPress-panel och aktivera standardtemat.
Detta steg hjälper dig att avgöra om problemet är relaterat till ditt nuvarande tema.
Försök sedan att ladda upp bilden igen. Om uppladdningen fungerar betyder det att ett av dina plugins eller ditt tidigare tema orsakade problemet.
För att hitta den exakta orsaken kan du börja återaktivera dina plugins ett efter ett. När du har aktiverat varje plugin kan du försöka ladda upp en bild igen. På så sätt kan du hitta det specifika insticksprogrammet som orsakar konflikten.
Om problemet återkommer efter aktivering av ett visst plugin har du hittat den skyldige. Nu är det dags att leta efter ett alternativ eller kontakta WordPress support.
Om problemet inte löses genom att byta plugins kan det vara relaterat till det tema du använde. Du kan kontakta temautvecklaren för support eller överväga att använda ett annat WordPress-tema.
Tips 6: Justera filbehörigheterna
Problemet med att ladda upp bilder i WordPress kan också bero på felaktiga filbehörigheter. Dina WordPress-filer lagras på ditt webbhotells server och behöver specifika fil- och katalogbehörigheter för att fungera.
Felaktiga filbehörigheter hindrar WordPress från att läsa eller ladda upp filer på hosting-servern. Du kan få följande WordPress-fel när du laddar upp en bildfil:
”Det gick inte att skapa katalogen wp-content/uploads/2019/04. Är dess överordnade katalog skrivbar av servern?
Eller så kan du se felet:
”Den uppladdade filen kunde inte flyttas till wp-content/uploads/.
Ett annat tecken på denna issue är att dina images försvinner från mediabiblioteket WordPress.
Min site fungerade bra tidigare. Vem Changed filens behörigheter?
Detta kan hända av flera olika skäl. En felkonfiguration på din server för delat webbhotell kan ibland ändra dessa behörigheter utan att du gör något.
Din webbhotellleverantör kan t.ex. ha gjort en uppgradering som oväntat ändrade filbehörigheter.
Om allt annat fungerar bra på din WordPress-webbplats kan du helt enkelt använda rätt filbehörigheter för att åtgärda problemet med bilduppladdningen.
Obs: Den här metoden är lite mer avancerad. Om du behöver hjälp, tveka inte att kontakta vår Emergency WordPress Support för att få hjälp.
Ändra filbehörigheter
För att kunna ändra behörigheter för filer måste du använda en FTP-klient.
Låt oss först ansluta till din webbplats via FTP och sedan byta till mappen /wp-content/.
Där hittar du mappen uploads
, som är den mapp där WordPress lagrar alla dina mediauppladdningar, inklusive bilder.
Högerklicka nu på uploads-katalogen
och välj sedan ”File permissions”.
Detta kommer att visa dialogboxen för filbehörigheter.
Härifrån måste du ställa in filbehörigheter för uploads-katalogen och alla underkataloger i den till ”744”.
För att göra det kan du ange 744 i rutan för numeriskt värde och markera rutan bredvid ”Återgå till underkataloger”. Sedan klickar du bara på alternativknappen ”Tillämpa endast på kataloger”.
Gå vidare och klicka på knappen ”OK” för att tillämpa dessa ändringar. Din FTP-klient kommer nu att börja tillämpa filbehörigheter på katalogerna.
Note: Om det inte verkar lösa your problem att sätta behörigheten för directory till 744, prova då 755.
I nästa steg måste du ange filbehörigheter för alla filer i uploads directory.
Det gör du genom att högerklicka på katalogen uploads
och välja filbehörigheter. I dialogrutan för filbehörigheter ändrar du det numeriska värdet till ”644”.
Sedan kan du kryssa i rutan bredvid ”Återgå till underkataloger” och välja ”Tillämpa endast på filer”.
Slutligen klickar du bara på knappen ”OK” för att tillämpa dessa ändringar.
FTP-klienten kommer nu att ändra behörigheterna för alla filer i mappen uploads. När det är gjort kan du gå tillbaka till ditt WordPress-adminområde och försöka ladda upp bilder igen.
If you have any file upload forms on your website, you should test those as well.
Obs: Om du inte vet hur man använder en FTP-klient kan du också använda den filhanterare som tillhandahålls av ditt WordPress-värdföretag. Eftersom skärmdumparna varierar mellan olika värdar måste du prata med deras support för att få instruktioner.
Tips 7: Öka din PHP-minnesgräns
Ibland uppstår problem med bilduppladdning eftersom WordPress inte har tillräckligt med minne för att bearbeta uppladdningen. Att öka din PHP-minnesgräns kan hjälpa till att åtgärda detta.
Vanligtvis kan du göra detta genom att redigera din wp-config.php-fil.
Det enklaste sättet är dock att kontakta din hostingleverantör för att få hjälp. De kan öka din minnesgräns.
För mer information, se vår handledning om hur du ökar PHP-minnesgränsen i WordPress.
Vi hoppas att den här artikeln hjälpte dig att åtgärda problemet med bilduppladdning i WordPress. Du kanske också vill se vår kompletta felsökningsguide eller vår guide om hur du åtgärdar de vanligaste WordPress-felen.
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.
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!
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.
Administratör
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!
WPBeginner Support says
For that error, you may want to try the recommendations from our article below!
https://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/
Administratör
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
WPBeginner Support says
It appears that your image is too large, for a starting point we would recommend taking a look at our article below:
https://www.wpbeginner.com/beginners-guide/speed-wordpress-save-images-optimized-web/
Administratör
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!
WPBeginner Support says
Glad our guide was helpful!
Administratör
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
You would want to go through the steps in this article if you have not done so and if these recommendations do not solve this issue, you would want to use our general troubleshooting article below:
https://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/
Administratör
António Antunes says
Hey,
Just change the permalink structure from generic to another one. That worked for me
ak says
Thanks! I didn’t thought about it, worked for me and saved a lot of time <3
Ankit Sharma says
image upload issue showing countinously .i have applied all methos but it does not working
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.
Administratör
Daniel Gadd says
Thank You, 755 worked but 744 doesnt for folders, triple checked
WPBeginner Support says
It can vary depending on the issue and host, 744 is a backup to check
Administratör
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?
WPBeginner Support says
You would likely want to reach out to your hosting provider for them to take a look.
Administratör
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.
Administratör
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.
Administratör
Sravya says
Hi ,do we do it with out FTP
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.
Administratör
Naluzze Anita says
I’m using localhost, cannot see the file permissions option when i right click
WPBeginner Support says
For local installations, you would right-click the folder and go under Properties>Security to change the permissions.
Administratör
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?
WPBeginner Support says
By default, WordPress would not include FTP’d files in the media library. It would depend on the specific error. If the default upload method is what is causing the error then you would want to go through the troubleshooting steps in our guide below:
https://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/
Administratör
Zillah Prescott says
You missed the easiest fix of all. Close WordPress and open it back up again.
WPBeginner Support says
For some, that may be a solution but that is sadly, rarely the solution for this specific issue.
Administratör
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.
WPBeginner Support says
There are a few possible reasons for that error message, we would recommend going through our troubleshooting steps here: https://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/
Administratör
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!
WPBeginner Support says
You may want to ensure you cleared any caching for your site as that is the most common reason for that issue, we have a guide you can follow here:
https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress/
Administratör
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!
WPBeginner Support says
You’re welcome, glad our guides can be helpful
Administratör
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
Administratör
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.
WPBeginner Support says
Glad our recommendation could help
Administratör
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.
Administratör
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.
WPBeginner Support says
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/
Administratör
Hamza says
publishing issue in wordpress.
no page, post is publishing in wordpress
WPBeginner Support says
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/
Administratör
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?
WPBeginner Support says
644 are the correct permissions
Administratör
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.
Administratör
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.
Administratör
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.
Administratör
Mike Wright says
Thanks a lot!
You continue to bring the clear and direct fixes
WPBeginner Support says
You’re welcome, glad our articles can help
Administratör
The Struggling Believer says
Thank you very much! This solved my problem in my site
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!
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?
WPBeginner Support says
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 .
Administratör
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.
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!
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!
wisd says
i can not upload a media file to my WordPress
Manpreet says
My permissions are 755 but unable to upload images
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
WPBeginner Support says
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.
Administratör
Ravi Kant Singh says
Try clicking ’file url’ button first it fetchs url, then click insert into post. Hope it works for you.
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.
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.
WPBeginner Support says
Hi Joy,
Please ask your hosting provider, they can also fix directory permissions issue for you.
Administratör
JOY DUTTA says
Thanks for reply
Today i checked also some images are uploaded but some images shown error in uploading
Joe says
Thanks Edo, I worked it out.
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
Atif says
Thanks a bunch dude, nothing else worked, but this PHP options setting worked for me.
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!
Vu says
Thank you very much. My problem was same and your solution was great
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.
Pri Freire says
Thank you soooo much!
Mika Kaakinen says
Changing folder permissions to 755 resolved the issue for me. Thank you!
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
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!
Toon says
Wow! worked for me! Safari -> Chrome on OSX
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…
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.
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
Rafia khan says
Thank you so much for the help. It worked for me as well
Tammy says
I refreshed cache in WordPress and that fixed it.