Uploading an image from your computer

If you want to upload an image from your computer to your blog, which means that you'll be hosting the image on your server, you have to use a WordPress uploader. The default uploader uses the Flash plug-in from Adobe. If you're not a fan of Flash or your browser doesn't support it, you can click the Browser Uploader link at the top of the Choose File page instead. The browser uploader doesn't require plug-ins and should work on most systems.

The Flash uploader has one feature that the browser uploader lacks: a progress bar (Figure 6.16). This bar charts the upload process as well as the generation of thumbnails (during which process the progress bar displays the word Crunching). You can upload multiple files with either uploader, so if you don't care about the progress bar, either option will suit your needs.

Figure 6.16 The Flash uploader's progress bar may not look like much, but it's very helpful when you're uploading several files.

To upload images from your computer, follow these steps:

1. Click the Choose Files to Upload button (refer to Figure 6.14).

2. Select the photos you want to upload from your local machine.

Holding down the Shift key while you click a bunch of contiguous tip files allows you to select and upload all those images at the same time. You can also Ctrl-click (or, on the Mac, Control-click) to select noncontiguous files in the same folder.

3. When you have the correct images selected, click Select.

WordPress starts uploading the files.

When an image is uploaded, the Choose File page displays many of the same settings that it displays for images from the Web, which I cover in the preceding section (Figure 6.17 on the next page).

After a file has been uploaded, you can add titles and descriptions.

After a file has been uploaded, you can add titles and descriptions.

Figure 6.17 After an image has been uploaded from your computer, you can set a few options for it.

Most of the settings do the same things, but here are the differences:

• Title. Again, the title is required. This time, in addition to setting the TITLE attribute of this image, the title identifies this image in your blog's Media Library, which I cover in "Using Media Library" later in this chapter.

• Link URL. You can set a couple of different options for the link URL: File URL and Post URL.

File URL allows you to set a direct link to the file on your server. If you upload an image called blogsarecool.jpg, that URL would look like this:

http://www.yourfaZ05.com/yourWordPressfoZder/wp-content/ uploads/2008/08/blogsarecool.jpg

Post URL isn't the permalink of the post itself but a permalink to the image. (For more information on permalinks, flip back to Chapter 5.) When you upload an image to a post, that image is attached to the post, essentially creating a subpost that contains only the uploaded image. The Post URL setting refers to this subpost. This subpost is just like any other post in your blog, in that people can link to it and leave comments. You can click the Post URL button and enter any URL you want to use.

• Size. If you're reading the chapters of this book in order, you may recall a setting in Chapter 5 that affects the sizes of thumbnails of uploaded images. This option is where that setting pays off. You can insert the picture at the size of the original (Full Size), or you can insert it as either of two thumbnail options: Thumbnail (the smaller option) or Medium.

If, just as you click the Insert into Post button, you realize that the image you're working with isn't right, fear not! You can delete it right from the Choose File page. Click the Delete link, and WordPress warns you that you're about to delete the picture you just uploaded. Click Continue, and the picture is gone.

Was this article helpful?

0 0

Post a comment