We have received quite a few Help Desk inquiries recently regarding the uploading of image files using the built-in upload feature in WordPress. Since WordPress version 2.0, WordPress can archive images in blog posts for you automatically. All you need to do is upload them into the post you’re writing and WordPress will do the rest.
In order for this convenient feature to work, you need the ‘wp-content‘ directory in your WordPress blog to be writeable by the server. The way to accomplish this is by changing the file writing permissions (CHMOD) on the ‘wp-content‘ directory to 777. This can be done a few ways:
- With your FTP program, establish a connection to the server.
- Navigate to the ‘wp-content‘ directory.
- Change the file writing permissions on this directory to 777. If you are unsure of how to do this with your FTP program, search the web for ‘CHMOD‘ and the name of your FTP program. Your FTP program may also allow you to make any sub-directories writeable by the server. By default, WordPress versions 2.0 and above creates year and month sub-directories that organizes images corresponding to the year and month when the blog post was made. If you have this option available in your FTP program, select it to make all sub-directories of the ‘wp-content‘ directory writeable by the server as well.
Plesk File Manager (Laughing Squid customers)
- Log into your control panel.
- Select the domain name where WordPress is installed.
- Select File Manager.
- Navigate to the root directory where you have WordPress installed and locate the ‘wp-content‘ directory.
- Under Permissions, click on the permissions (rwx r-x r-x, et al.) for the ‘wp-content‘ directory.
NOTE: You may have to scroll right slightly to see the Permissions column.
- Put a check in every checkbox, then click OK.
- The permissions for ‘wp-content‘ should now read rwx rwx rwx, making this directory writable by the server.
For security reasons, Laughing Squid does not allow shell access.
- Go to your WordPress main directory, with a command like cd wordpress/
- Enter chmod -R 777 wp-content
You can find more info about changing file permissions in the WordPress Codex:
After you have successfully changed the file writing permissions on the ‘wp-content‘ directory, you will be able to use the upload feature in WordPress to import images (or files) into your blog posts. Here is more info from the Codex about using the upload feature: http://tinyurl.com/qhspm