Creating Image Definitions

This section discusses how to:

  • Create image definitions.

  • Set image properties.

  • Import and create alternate image types.

To create an image definition from an image file:

  1. Select File > New.

  2. Select Image.

  3. Click OK to access the Open Image File dialog box.

  4. Select an image file.

    Note: PeopleSoft applications support animated GIF files. You will not see the animation in PeopleSoft Application Designer at design time; however, you will see the animation on the page at runtime.

    Note: Some browsers do not support all image types.

    See Troubleshooting Browser Limitations available on the My Oracle Support website.

  5. Select an image file name.

    PeopleSoft Application Designer displays a warning message if the image size is greater than 32 kilobytes. The maximum image size depends on the database platform that you are using. Some database platforms support much larger image sizes, while others limit the size.

  6. Select Open.

    The image appears as an image definition in the definition workspace.

  7. Select File > Save to save the image definition in the PeopleSoft image catalog.

    The Image Properties dialog box appears.

After you create a new image definition, you can set the image properties.

To set image properties:

  1. Access the Image Properties dialog box.

    If it is not already open, select File > Definition Properties.

  2. (Optional) Enter a description on the General tab.

  3. Select the Use tab to view image use properties.

    Field or Control

    Definition

    Image Format

    Specify the main and alternate image formats. The main image format, which appears at runtime, is the format in which the image was imported, such as BMP. The alternate format is the optional image format that you can specify if you want a WBMP image as the main image format that appears at runtime.

    Image URL

    Specify a reference to an image on a web server. This reference can be used as an alternative to storing an image definition in the database after an image definition is saved. When a user opens a page containing a control that is associated with this image definition, the application retrieves the image from the URL rather than from the database. Set up URLs in the URL Maintenance utility (PeopleTools, Utilities, Administration, URLs ).

    Mirror this image in right-to-left contexts

    Select this property to have the system flip the image horizontally when a language that is read right-to-left (RTL) is in use.

    Pages in languages with an RTL reading order, for example, Arabic, might also display images whose directionality depends on the directionality of the language. For example, an arrow in a margin that points to the text in a left-to-right (LTR) language, such as English, will point to the right; but in an RTL language, the arrow should point to the left.

    Used in Workflow Maps

    Select to filter images that appear in a list box for the Change Icon function for PeopleSoft Workflow designers.

To import a WBMP image type:

  1. Select File > New.

  2. Select Image.

    The Open Image File dialog box appears.

  3. Select WBMP from the Files of Type drop-down list box.

  4. Locate the image that you want to import.

  5. Click the Open button.

    The Content Repository Interface dialog box appears, prompting you to select an alternate image.

  6. Select Yes.

    The Open Alternate Image File dialog box appears, prompting you to select an alternate image type. You must have the same image stored in the directory under a different file type, such as JPG, to view the image in PeopleSoft Application Designer. If you select No, you can still open the WBMP image definition, but you cannot see it. Instead, you receive a message that the image cannot be viewed in PeopleSoft Application Designer.

  7. Select the alternate image format and the appropriate file.

  8. Click Open.

  9. Select File > Save As.

    Upon saving, the Image Properties dialog box appears. If you select the Use tab, the Image Format group box shows the main image format as WBMP and the alternate image format as JPG. Now you can view the image in PeopleSoft Application Designer as a JPG image and still display the image at runtime as WBMP.