Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

About Image Content data instances

Updated on August 16, 2022

Image Content instances provide an alternative to binary file rules, to store images that:

  • are widely used across multiple applications
  • look the same for all users, and
  • are rarely updated.

For example, you can use an Image Content data instance to identify each division in an organization.

The following tabs are available on this form:

Where referenced

You can reference data content image instances in two ways. The first is to write out a reference to the image cleartext URL in HTML code:

<img src="">

This URL is consistent and reusable.

The second way is by using the contentURL JSP tag, which will generate the same cleartext URL as if one had written it as a cleartext URL:

<img src="<pega:contentURL name="fileName.fileType path="/filePath/" classType="Image" />">

The contentURL JSP tag creates a constant, reusable cleartext URL.

For example: To reference an image with the file name "profilepicture," the file path "/operatorimages/" and the file type "jpg," you could do this in one of two ways:

<img src="">


<img src="p:contentURL name="foo.jpg" path="/operatorimages/" classType="image"/>"/>

Both of these references generate the same cleartext URL for the image.


An Image Content data instance belongs to the Data-Content-Image class. They are part of the Technical category.

  • Previous topic Function Alias rules &mdash; Completing the&nbsp;Create, Save As, or Specialization form
  • Next topic Image Content form - Completing the New or Save As form

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us