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
IntroAmmyIntroAmmy 

How can i add image of any contact when contact record is created

I want to add person image in contact page layout, when contact record is created for that person.
I have tried it via rich text field it is workibg but in rich text field we can not resize the imageas image is showing large so the image should be like as passport size kind of.

Is there any other option how we can do that like add contact image when contact record is created(after contact record creation we just edit the record and add contact image for perticular contact record)
Please see the image which i have added via rich text User-added image
Best Answer chosen by IntroAmmy
CharuDuttCharuDutt
Hii IntroAmmy
Ya That's What I'm Saying Paste This url in Url Field And then Use the Url Field In Formula Field
Please Close Your Query By Marking it As Best Answer So It Helps Others In Future
Thank You!

All Answers

CharuDuttCharuDutt
Hii IntroArmy 
You Can Do it By Making Url Field With Contains Url of image
And Secondly Adding it inrto formula field data type Text
IMAGE( Image url field name , 'Alternate text', 200, 250)
Please Mark it As Best Answer If It Helps
Thank You!
IntroAmmyIntroAmmy
Hi Charu,

Thanks for suggesting.
But how can i get the Image URL ?
CharuDuttCharuDutt
Hii Intro Army
where are You Getting image From
IntroAmmyIntroAmmy
actually i need to add image when contact record created,
Let suppose I have added one account at a same time associated contact record gets created.
Once contact record created i will just edit the record and add person image, like the same way we do with richtext 

I believe we need to do it via UI beacuse this is not for few records 

 
CharuDuttCharuDutt
No what i'm asking is do you have image file or image address
IntroAmmyIntroAmmy
I just added the image in documents(url - /servlet/servlet.FileDownload?file=0151F00000153kf) and then fill this value in Image URL field and call this image URl field in Image formula field
CharuDuttCharuDutt
Hii IntroAmmy
Ya That's What I'm Saying Paste This url in Url Field And then Use the Url Field In Formula Field
Please Close Your Query By Marking it As Best Answer So It Helps Others In Future
Thank You!
This was selected as the best answer
IntroAmmyIntroAmmy
Hi Charu, yeh this is working and this time 1 user is there but suppose we have huge number of records so how it will work
 the same step need to do manually for evry user, here i am wondring
 
CharuDuttCharuDutt
you Can use Apex To Update Mass records
IntroAmmyIntroAmmy
Thanks :)