Managing Images

You can reference images within your application by uploading them to the Images Repository. When you upload an image, you can specify whether it is available to all applications or a specific application.

Topics:

Tip:

You can use the Images Finder to identify images available to the current application. See "Using the Images Finder".

Uploading Images

You upload images to your workspace using the Image Repository.

To upload images to your workspace:

  1. On the Workspace home page, click the Application Builder icon.

  2. Select an application.

  3. Click Shared Components.

    The Shared Components page appears.

  4. Under Files, select Images.

    The Images page appears.

  5. To upload an image, click Create.

  6. On the Create Image page, specify the following:

    1. Application - Select No Application Associated to make the image available to all applications within the workspace, or select a specific application ID.

    2. Upload New Image - Click Browse to identify a file to upload.

    3. Note - Enter details that describe the image.

  7. Click Upload.

Referencing Images

You can reference images in your application by referencing the substitution string #IMAGE_PREFIX# or including a fully qualified URL to the image.

See Also:

"Uploading Images"

Topics:

Verifying the Prefix for the Virtual Image Directory

When you install Application Builder, 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 first create an application, you must verify this prefix on the Edit Definition page.

To verify the Image Prefix for an application:

  1. On the Workspace home page, click the Application Builder icon.

  2. Select an application.

  3. On the Application home page, click Shared Components.

  4. Under User Interface, select User Interface Attributes.

  5. 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.

Referencing an Image Using #IMAGE_PREFIX#

When you embed an image in static text (for example, in page headers, 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">

Referencing Images Using a Fully Qualified URL

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">

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:

  1. On the Workspace home page, click the Application Builder icon.

  2. Select an application.

  3. Click Shared Components.

    The Shared Components page appears.

  4. Under Files, select Images.

    The Images page appears.

  5. A Search bar displays at the top of the page. Available controls include:

    • Select columns to search - Resembles a magnifying glass. Click this icon to narrow your search. To search all columns, select All Columns.

    • Text area - Enter case insensitive search criteria (wildcard characters are implied) to search for a name and then click Go.

    • Go button - Executes a search or applies a filter.

    • View Icons - Displays each image as a large icon. To edit an image, click the appropriate icon.

    • View Report - Displays each image as a line in a report. To edit a image, click the name.

    • Actions menu - Use the Actions menu to customize the report view. See "About the Actions Menu".

  6. Select an image.

    The Edit Image Attributes page appears.

  7. From Application, specify the image availability.

    Select No Application Associated to make the image available to all applications within the workspace, or select a specific application ID.

  8. In Notes, enter details that describe the image.

  9. Click Apply Changes.

Deleting an Image

To delete an image:

  1. On the Workspace home page, click the Application Builder icon.

  2. Select an application.

  3. Click Shared Components.

    The Shared Components page appears.

  4. Under Files, select Images.

    The Images page appears.

  5. A Search bar displays at the top of the page. Available controls include:

    • Select columns to search - Resembles a magnifying glass. Click this icon to narrow your search. To search all columns, select All Columns.

    • Text area - Enter case insensitive search criteria (wildcard characters are implied) to search for a name and then click Go.

    • Go button - Executes a search or applies a filter.

    • View Icons - Displays each image as a large icon. To edit an image, click the appropriate icon.

    • View Report - Displays each image as a line in a report. To edit a image, click the name.

    • Actions menu - Use the Actions menu to customize the report view. See "About the Actions Menu".

  6. Select an image.

  7. Click Delete.