function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
HarryBHarryB 

Display custom images in layout?

Hi all,
 
is there a way to display an custom image in a page layout?
Like the "url" field type, just displaying the image defined by the path stored in the field.
 
Cheers,
Harry
mojeebahmedmojeebahmed
Hi Harry,
    Yes there is a way to display the image on the page layout. you have to create a formula field and then use the code below and provide the image URL and salesforce will display the image on the page.


IMAGE(image_url, alternate_text [, height, width])
Inserts an image
HarryBHarryB

Hi,

thanks for the hint, works like a charm!

Cheers,

Harald