WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How to add images to the site?

[Resolved] How to add images to the site?

  • I am running a self hosted wordpress server. Does anyone know how I can upload images to the server? When I try to do it inside the wp-admin I just get an error saying:

    “Bratvold Brumer, Reidar.jpg” has failed to upload due to an error
    Unable to create directory /var/www/domains/reidar-bratvold.com/docs/wp-content/uploads/2012/02. Is its parent directory writable by the server?

    I still a newb and this is my first time using wordpress. Do I have to upload a folder with the images by using Filezilla? When I was working on the localhost I just used the wp-admin to upload.

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    @esmi

    Forum Moderator

    Try changing the permissions on the wp-content directory to 766. If you still have problems, try 767, 775 or 777. Once your uploads are working, change the permissions on wp-content back to 755 again and check that everything still works OK.
    http://codex.wordpress.org/Changing_File_Permissions

    I tried all of those different ones but they did not work.

    I still get this message:

    Unable to create directory /var/www/domains/reidar-bratvold.com/docs/wp-content/uploads/2012/02. Is its parent directory writable by the server?

    I even tried to put in on the wp-content>wp-includes>images to see if an image folder would do any difference.

    esmi

    @esmi

    Forum Moderator

    Try asking your hosts for assistance. It could be a folder ownership issue.

    I talked to the host an the issue was that somehow I did not have a folder called “2” which is where the uploader tried to save the images.

    Thanks for your advice Esmi 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] How to add images to the site?’ is closed to new replies.