Configuring Siebel eBusiness Applications > Displaying Images >

Creating Bitmap Categories and Bitmap Objects


Bitmap objects allow you associate image files, such as GIF and JPG, with Siebel objects, such as button controls and fields. Images are defined in the repository using the Bitmap object type. They can be of any format supported by the target browser. The Bitmap object type identifies the location of the image file and other properties, such as width and height.

Image files are handled differently, depending on the file type:

  • Images of type BMP are imported into the repository and the File Name field of the Bitmap Object becomes read-only.
  • Image files such as GIF and JPG are not stored in the repository; instead they are stored in the Public\$lang\images folder of your Siebel installation and referred to from the repository Bitmap objects.

NOTE:  Only images that are associated with Siebel objects, such as icon maps, page tabs, and so on, are defined as Bitmap objects in the Siebel repository. Some images used in Web templates, such as static images, are not associated with Siebel objects and are not defined as Bitmap objects in the Siebel repository. These objects are defined in the application's configuration (.cfg) file.

The Siebel Web engine (SWE) renders the bitmap object using the HTML <img> tag. The Height and Width attributes of the Bitmap object can be set to the height and width of the image that you want to display on the Web page. If these attributes are set, SWE uses them as "width" and "height" attributes of the <img> tag. This allows the creation of various bitmap objects that share the same image file, but are rendered with different dimensions. The Bitmap object has another new attribute called Alt Text. This attribute can be set to the text to be used in the "alt" attribute of the image tag. The other attributes of the Bitmap Object like Data and Transparent Color are not used with Web Images.

To create a bitmap objects for image files of type BMP

  1. Navigate to the Bitmap Category object type and create a new bitmap category or select and existing Bitmap Category.
  2. Select the child Bitmap object.
  3. Create a new bitmap object and then use the information in the following table to define the bitmap object properties:
    Property
    Description

    Name

    Name of the bitmap object definition.

    Alt Text

    Alternative text used in place of name property for a bitmap.

    Height

    The height (in pixels) of the bitmap.

    Width

    The width (in pixels) of the bitmap.

  4. With the new record selected, right-click, and then choose Import Bitmap.

    The Open Dialog box appears.

  5. Use the Open Dialog box to navigate to the BMP file that you want to import.

    The BMP file is imported into the Siebel repository.

To create bitmap objects for image files of type GIF

  1. Navigate to the Bitmap Category object type and create a new bitmap category or select and existing Bitmap Category.
  2. Select the child Bitmap object.
  3. Create a new bitmap object and then use the information in the following table to define the bitmap object properties:

Property
Description

Name

Name of the bitmap object definition.

Alt Text

Alternative text used in place of name property for an image.

File Name

Name of the image file. For images that are published within subfolders in the image folder, include the subfolder in the image name. For example, for an image named asterix.gif that is published in the eapps/public/enu/images folder, set the File Name attribute to asterix.gif. However, for the image next_on.gif that is published in the eapps/public/enu/images/bttns folder, set the File Name attribute to bttns/next_on.gif.

Height

The height (in pixels) of the image.

Width

The width (in pixels) of the bitmap.

Configuring Siebel eBusiness Applications