Skip to main content

Table of Contents

Adding images to Image Library


Only available versions of this content are shown in the dropdown

Customize the look-and-feel of your application by including your own images in elements such as logos, displaying an image for a button or link control, using custom sprites in the UI design, and determining the content that users see when the system displays a guardrail warning. As a result, you provide a unique and personalized application that can precisely reflect your business requirements.

To use custom icons or images in your Pega Platform application,add your binary file to the Image Library.
Create a binary file rule of a file extension that matches a graphics file that you want to upload, for example, .jpg. For more information, see Creating binary file rules.
  1. In the navigation pane of Dev Studio, click Records.

  2. Expand the Technical category and click Binary File.

  3. In the list of binary files instances, click the rule that you want to edit.

  4. On the File tab, in the File controls section, click Upload file.

  5. In the Upload file dialog box, click Choose file.

  6. In the dialog box, navigate to the file that you want to upload, select the file, and then click Open.

  7. Click Upload file.

  8. Optional:

    To use the uploaded image as an icon, define the icon settings:

    1. in the Image details section, select the Treat image as a sprite check box.

    2. In the Icon width and Icon height fields, enter the icon size in pixels.

  9. Click Save.

    After a successful save, you can preview the image in the Image details section.
Incorporate the image into your UI. For more information, see Adding and configuring an Image control.

Related Content

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us