The weekend Web site

Getting started with iWeb

Page 2 of 4

Step 4: Add photos

In addition to providing fake text, iWeb’s templates also include placeholder photos, which you can replace with your own. But don’t feel confined by these placeholders—you can put images anywhere you want on the page.

Import Photos You can access photos in iWeb via the Media Browser’s Photos pane (View: Show Media Browser). The browser displays your entire iPhoto library, as well as any albums you’ve set up. You can also add photos stored in a folder outside iPhoto by dragging the folder from the Finder to the Media Browser’s Photos section.

To add an image to your page, drag it from the browser to the appropriate spot. If you drag an image on top of an existing image, iWeb replaces the old image with the new one. You can also drag photos directly to iWeb from a Finder window.

Resize It To resize an image, select it and then drag one of the white selection handles to the desired size. By default, iWeb will maintain the image’s proportions. For more-precise results, open the Inspector pane, click on the Metrics tab, and adjust the Width or Height settings. But keep in mind that larger images take longer to download in a Web browser.

Customize It To add images to your iWeb page, drag them from the Media Browser (A). To add effects to your photos, use the Inspector pane’s Graphic tab (B). When working on a Photos page, you can select a new photo frame (C) by making a selection in the Style menu (D).
(Click image to open full screenshot)

Rotate You can place an image at an angle by holding down the Command key as you drag one of the image’s corners into position (or by using the Rotate dial in the Metrics tab). To rotate it quickly in 45-degree increments, press Command-shift as you drag one of the corners.

Masking Dos and Don’ts If you don’t want to show an entire photo, you can crop it within iWeb by creating an image mask. Click on the photo, go to Format: Mask, and then adjust the handles at the edges to exclude the parts you don’t want.

However, I don’t recommend using this feature very often. iWeb still uploads the full image file—even though only a small fraction of it appears on your page. As a result, it can take quite a while for that image to appear in a Web browser. If you want to use only a portion of an image, you’re better off cropping it in iPhoto or another image editor before placing it in iWeb.

If you replace a template image with one of your own but discover that only a fraction of your image appears, the problem likely lies in its mask. To reposition the new image in the frame, select it and go to Format: Unmask. You can then either create a new mask or resize the image so it better fits the space.

Add Other Effects Using the Inspector pane’s Graphic tab, you can also change the image’s opacity, add a drop shadow, or create a reflection. But each of these features will increase the image’s file size (and its download time). This is because iWeb publishes these images as PNG files, which tend to be much larger than JPEG files. To keep your download times manageable, use these effects sparingly.

Step 5: Import movies and podcasts

To add a video file to your Web page, open the Media Browser and click on the Movies tab. If you have movies stored in another location on your hard drive, drag the folder into the Media Browser pane to add it to the list. Once you’ve imported a movie file, you can resize it just as you would a photo. If you haven’t already optimized the video files for the Web, open the movies in iMovie HD and choose Share: iWeb. iMovie will compress the video and place it in a new Movie page.

For a podcast you’ve created in GarageBand, open the podcast in GarageBand and select Share: iWeb to import it into a Blog or Podcast page you’ve already set up on your site.

If you’re publishing to .Mac, you can add support for comments to Blog and Podcast pages. Select the main Blog or Podcast page in the Site Organizer, open the RSS tab of the Inspector pane, and enable the Allow Comments option.

Unfortunately, iWeb doesn’t support commenting on sites that are published outside of .Mac. But you can add this feature with the aid of iComment.

Building Connections Use the Link inspector to turn a phrase or an image into a hyperlink.

Step 6: Create links

By now, you should have most of your Web site’s contents in place. You don’t need to worry about linking the individual pages. iWeb takes care of that for you—unless, of course, you’ve chosen to leave certain pages off the navigation menu. But if you want to link pages to the outside world, you’ll need to add your own links.

In iWeb, you can add a link to an image, to words, or to any other element on your Web page. To add a link, select the text or page item and then open the Link section of the Inspector pane. Click on the check box next to Enable As A Hyperlink, and then use the Link pop-up menu to select the type of link you want (see “Building Connections”). You have four options:

One of My Pages This option lets you link to another page in your iWeb site. It’s useful if you want to link to a page that doesn’t appear in your main navigation bar.

An External Page This option lets you type in the URL for another Web site. Unfortunately, if someone clicks on one of these links, that page loads in the current browser window rather than in a new window or tab. If you have the time and are familiar with HTML, you can fix this oversight by opening the finished HTML files that iWeb creates and adding the text

after the URL in any
<a href>
tags. For example:

<a href="" target="_blank">

A File This option lets you create a link that other people can click on to download a selected file, such as a PDF or a Microsoft Word document. The file then gets uploaded to your iWeb site along with the rest of the pages and images.

An E-mail Message This option creates a link that lets someone send you an e-mail message. You can specify the e-mail address and the message’s subject line. Then, using your e-mail application, you can set up a rule that looks for incoming messages with that subject line and filters them to a special folder. But keep in mind that publishing your e-mail address on your Web site may be an invitation to spam.

Tip: If you have a URL open in Safari, you can save time simply by dragging it from Safari’s address field onto an iWeb page. iWeb adds the Web page’s name as text and inserts the appropri-ate link.

| 1 2 3 4 Page 2
Shop Tech Products at Amazon