Oracle® HTML DB
Release 2.0
  Go To Table Of Contents
Contents

Previous
Previous
Next
Next
 

Uploading Images

You can upload images to your workspace using the Image Repository.

To upload images to your workspace:

  1. Navigate to the Workspace home page and click the Application Builder icon.

  2. Select an application.

  3. Click Shared Components.

    The Shared Components page appears.

  4. Under Files, select Images.

    The Image Repository appears.

  5. To upload a new image, click Create.

  6. Follow the on-screen instructions.

Topics:

Editing Image Attributes

When you edit image attributes you can add notes that describe an image or change the associated application. However, you cannot change the actual image. To change an image, delete it and then upload it again.

To edit images attributes to your workspace:

  1. Navigate to the Workspace home page and click the Application Builder icon.

  2. Select an application.

  3. Click Shared Components.

    The Shared Components page appears.

  4. Under Files, select Images.

    The Image Repository appears.

  5. Use the following to filter the view:

    1. Image - Enter text to search for an image name or notes describing the image. Select whether to search for All Images, Workspace Images, or Application Images.

    2. View - Select one of the following:

      • Icons (the default) displays each image as a large icon.

      • Details displays each image as a line in a report.

    3. Click Go.

  6. Select an image.

  7. To associate the image with a new application, make a selection from the Application list.

  8. To edit or add notes, edit the Notes field.

  9. Click Apply Changes.

Deleting an Image

To delete an image:

  1. Navigate to the Workspace home page and click the Application Builder icon.

  2. Select an application.

  3. Click Shared Components.

    The Shared Components page appears.

  4. Under Files, select Images.

    The Image Repository appears.

  5. Use the following to filter the view:

    1. Image - Enter text to search for an image name or notes describing the image. Select whether to search for All Images, Workspace Images, or Application Images.

    2. View - Select one of the following:

      • Icons (the default) displays each image as a large icon.

      • Details displays each image as a line in a report.

    3. Click Go.

  6. Select an image.

  7. Click Delete.

Referencing Images

When you install Oracle HTML DB, the installer creates a virtual directory for images. This virtual directory points to the actual path on the file system that contains uploaded images. By default, you reference this virtual directory using the prefix:

/i/

When you create an application, you need to verify this prefix on the Edit Application Attributes page:

To verify the Image Prefix for an application:

  1. Navigate to the Workspace home page.

  2. Click the Application Builder icon.

  3. Select an application.

  4. On the Application home page, click Edit Attributes.

  5. Click Edit Standard Attributes.

  6. When the Edit Application Attributes page appears, locate the Image Prefix field.

    By default, this attribute is defined as /i/. Contact your administrator for information about the name of this virtual directory for your installation.

When you embed an image in static text (for example, in page or region headers or footers) you can reference the image using the substitution string #IMAGE_PREFIX#. For example, to reference the image go.gif you would use the following syntax:

<img src="#IMAGE_PREFIX#go.gif">

Alternatively, you can also reference an image using a fully qualified URL. For example:

<img src="http://g-images.amazon.com/images/G/01/associates/navbar2000/logo-no-border(1).gif">