KB_ImageDisplay – Smart image display for Salesforce Flows

Current component version: 1.0.
API version: 66.0.

KB_ImageDisplay is a reusable Aura component designed for Salesforce Screen Flows. It allows administrators to display images from Static Resources, including files stored inside ZIP resources, with full styling, hover effects, Experience Cloud compatibility, and interactive click behaviour.

Key features of this component:
  • Display images from Salesforce Static Resources
  • Support for ZIP Static Resources
  • Support for SVG files
  • Automatic Experience Cloud and internal Salesforce path handling
  • Full styling configuration from Flow Builder
  • Hover animations and effects
  • Optional clickable image behaviour
  • Output selected values back to Flow
  • Automatic Flow navigation on image click
  • Optional hyperlink support
  • Responsive image rendering
Configurable Attributes:
AttributePurposeExample
staticResourceNameName of the Static ResourceiconsKB
filePathPath to file inside ZIP resourceiconsKB/beacon.svg
widthImage width120px
heightImage height120px
maxWidthMaximum image width100%
alignmentImage alignmentcenter
borderRadiusRounded corners12px
borderCSS border2px solid #0176d3
boxShadowCSS shadow styling0 4px 10px rgba(0,0,0,0.2)
hoverScaleScale effect on hover1.05
hoverOpacityOpacity effect on hover0.9
hoverFilterCSS filter on hoverbrightness(0.9)
linkUrlOptional hyperlink URLhttps://example.com
isClickableEnable Flow click behaviourTRUE
clickValueValue returned to FlowClick
autoAdvanceOnClickAutomatically move to next Flow screenTRUE

Whenever Auto Advance on Click is enabled a decision element can be used to navigate to the next screen. In the example below, the value is set to “Click”, therefore the output value of the component is set to Click as well, which triggers the decision action:

Download:

Install in Sandbox
Install in Production

⚠️ Disclaimer: I am not affiliated with or employed by Salesforce. All components and examples I share are independent projects and should be thoroughly tested in a Sandbox environment before being deployed to Production. Please ensure they meet your organisation’s security, governance, and business requirements.

Leave a Reply

Your email address will not be published. Required fields are marked *

Are you human? Please solve:Captcha


More Articles & Posts