Format an image as a static HTML block

task brazil Updated Sep 10, 2026 1 min read t_AddAnImageAsAStaticHTMLBlock.md
Raw file servicenow.com

An easy way to add an image to a CMS page is to use a static HTML block. After the block is created, you can reuse it throughout the site.

Before you begin

Role required: content_admin or admin

Procedure

  1. Navigate to All > Content Management > Design > Images.

  2. Click New.

  3. Select a Category to help organize the images.

  4. Type the file name of the image, including the extension (such as .png).

  5. Upload the file by selecting Click to add and browsing for the image.

  6. Click OK.

  7. Click Update.

  8. Navigate to Content Management > Blocks > Static HTML and click New.

  9. Paste the following code into the HTML block, substituting the image name as uploaded in the previous step.

    The "x" at the end of the filename is required for image caching.

    XML
    <img src="<image_name>.gifx"/>

    Now the image is a static HTML block and you can add it to any content page. Use standard HTML code to alter the image in the content block.

Parent Topic:Configure a static HTML block

Related topics

Content blocks

Configure a content block

Configure a header block

Search documentation
Search document titles and file paths on the brazil branch