Skip to main content
New tool CRON Expression Builder — preview next run times before you schedule Apex. Open the builder →
Step-by-step guide for displaying images in Salesforce Screen Flows using the Flow Builder
Flow

Display Images in Salesforce Screen Flows: Static Resources + Flow Builder (Step-by-Step)

Add images to a Salesforce Screen Flow with Static Resources and the Display Image component: upload, alt text, sizing, and when to use Files or a CDN instead.

The short answer

This guide explains how to display images in Salesforce Screen Flows by uploading image files to Static Resources and adding them to screens with the Display Image component. It details setup steps, styling and accessibility settings, and when to use alternative storage options.

Key takeaways Upload image assets to Static Resources with Cache Control set to Public, using individual image files or compressed ZIP archives. Place the Display Image component on a Screen Flow canvas and enter the exact Static Resource name in the Image Name field. Configure horizontal alignment, image sizing, and descriptive alt text to ensure clear presentation and accessibility across devices. Use Static Resources for stable org assets, or switch to Salesforce Files and CDN links when managing frequently updated images.

Images in a Screen Flow make a process easier to follow: a product photo, an icon, a company logo, or a diagram of the step the user is on. This guide covers uploading an image as a Static Resource, putting it on a screen with the built-in Display Image component, the accessibility settings worth filling in, and when a different storage option fits better.

Visuals increase adoption and reduce user errors. Images give users something to trust (logos), context (product images) and instructional clarity (icons or diagrams), all without custom code.

  • Step 1: Upload the image as a Static Resource
    • Go to Setup → Static Resources → New.
    • Upload your image file, give it a meaningful name (e.g., product_image), and set Cache Control to Public.
    • If you need multiple images, compress them into a ZIP and upload that. In some contexts you can then reference files inside the ZIP like /resourceName/image.png.
  • Step 2: Add the image to a Screen Flow
    • Go to Setup → Flows → New Flow → Screen Flow.
    • Add a Screen element, then drag the Display Image component onto the canvas.
    • In the Image Name field, enter the Static Resource name you created (exact match).
    • Adjust sizing and Horizontal Alignment (center is often best for branding and product visuals).
    • Use the Image Alt Text field where available to improve accessibility and screen-reader support.
  • Step 3: Test, activate, and deploy
    • Preview the flow inside the Flow Builder to confirm the image displays correctly at different screen sizes.
    • Activate the flow when ready and add it to Lightning pages, the utility bar, or a quick action depending on your use case.

A few things worth doing while you are in there:

  • Keep images optimized (small file sizes, web-friendly formats like PNG or JPG) to reduce load time.
  • Use consistent sizing and alignment so flows look professional across screens.
  • Prefer Static Resources for stable, org-managed assets. For frequently updated images, consider Files (ContentDocument) with public URLs or a CDN, and reference the public link from the flow (that needs extra configuration).
  • Always provide meaningful alt text for accessibility and compliance.

Where this earns its keep:

  • Product selection flows showing product images.
  • Onboarding flows with company logos and step illustrations.
  • Support or guided troubleshooting flows that use icons or diagrams to clarify instructions.

Admins get this working without Apex or a custom LWC, which is the appeal: it ships the same afternoon. Developers can extend the approach for dynamic images by integrating with Files or external storage. And the people running the flow spend less time in training and make fewer mistakes, because the screen shows them what the step actually looks like.

#Salesforce #Flow #ScreenFlow #StaticResources #AdminTips

For more, please follow our page!

Frequently asked questions

How do you display an image in a Salesforce Screen Flow?

Upload your image file as a Static Resource in Setup with Cache Control set to Public. In Flow Builder, add the Display Image component to a screen element and set the Image Name field to the exact name of your Static Resource.

How do you use multiple images from a ZIP file in a Screen Flow?

Compress the image files into a single ZIP archive and upload it as a Static Resource. You can then reference individual images within the archive using the resource path.

When should you use Salesforce Files instead of Static Resources in a flow?

Use Static Resources for stable, org-managed visuals like logos and process icons. For frequently updated images, use Salesforce Files (ContentDocument) with public URLs or host them on a CDN.

Newsletter

One email every Tuesday

New guides, tool updates, and the release-note changes that break things.

No spam. Unsubscribe in one click.

Comments

Loading comments...

Leave a Comment