Changing the Alignment of Items

10-16 Oracle Fusion Middleware Users Guide for Oracle Portal Figure 10–25 The Default Navigation Image Use the options discussed in this section to display or suppress the image, and to select an image other than the default. To set values for the navigation image: 1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. From the Page Groups portlet Work In drop-down list, select the page group that

owns the page with the Sub-Page Links region. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. Under Pages in the Layout Appearance section, click the link to the page with

the Sub-Page Links region. This opens the page in Edit mode.

5. Click the Edit Region icon in the Sub-Page Links region

Figure 10–26 . Figure 10–26 The Edit Region Icon

6. On the Main tab of the Edit Region page, go to the Image section, and select one of

the following image options: ■ No Image to forgo display of a navigation image ■ Default Image to display the default navigation image see Figure 10–25 ■ Image to display a navigation image that you specify In the first field, click the Browse button to locate and select a file on your file system. OR In the second field, either enter the URL and file name of an image on the Web, or enter the internal name of an image already uploaded to Oracle Portal, for example 1655.gif. To get the internal name of the image, right-click the image in your portal, and select Properties from the resulting menu. If you are using item versioning and you always want to show the current version of an image, use the images durable URL instead of the internal file name. The durable URL always picks up the latest version of the image. For more information, see Section 14.12.4, Images and Item Versioning .

7. Click Apply to save your changes and remain on the Edit Region page, or click

OK to save your changes and return to the page.

10.2.8 Setting a Uniform Height and Width for Item Icons

One of the attributes commonly associated with items is the Image attribute. This image is not the item itself, but an image associated with the item, for example, it could be an icon you want to associate with items from a particular source, covering a particular topic, or relevant to a particular event. Working with Layouts 10-17 You can control the display size of that image through region display options. For example, you can upload an image to associate with an item and reduce its size to make it serve as an item icon Figure 10–27 . You can upload different images for different items in a region, and then set a uniform height and width for all such images through one action. Figure 10–27 The Same Image Used First as an Item Then as an Item Icon You may want to experiment with the images you plan to use. Some images may look squashed or stretched if their original is larger or smaller than the height and width you specify. Play around with the values for height and width. A squashed or stretched image may snap into proportion with the right values. Icon height and width options are available only with item regions. To set a uniform height and width for item icons: 1. Log into Oracle Portal.

2. Click the Build tab to bring it forward.

3. From the Page Groups portlet Work In drop-down list, select the page group that

owns the page where the item is located. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. Under Pages in the Layout Appearance section, click the link to the page where

the item is located. This opens the page in Edit mode.

5. Click the Edit Region icon in the region where the item is located

Figure 10–28 . Figure 10–28 The Edit Region Icon

6. On the resulting page, go to the Item Display Options section, and enter a height

in pixels for item icons in the Item Icon Height field. 7. In the Item Icon Width field, enter a width in pixels for item icons. 8. Click Apply to save the changes and remain on the Edit Regions page, or click OK to save the changes and return to the page.

10.2.9 Changing the Attributes Displayed in a Region

Typically, when you add content to a region, you also enter information about that content into attribute fields. Through region properties, you can either specify which attributes you would like to display along with the content or select an HTML content layout template that defines the layout, look, feel, and information to display in the Note: For information on setting item attribute values, such as an item’s Image attribute, see Section 14.4, Editing Items .