Page 1 of 1
Display Image from Lookup Field
Posted: 11 Apr 2018
by bob@easternia.com
Is there a way to display an image on an edit form from an extended lookup field?
Example on a contact record, there is an employee image link. I would like to display that image on a task record where we have chosen that employee in a lookup field. I can display other fields but not an image link field.
Re: Display Image from Lookup Field
Posted: 12 Apr 2018
by Nikita Kurguzov
Dear Bob,
It's not possible to directly add Picture field as an additional field for a Lookup. You have two options to get the URL with a Lookup:
1) Before saving an image, copy its URL to a hidden text field and then add this hidden text field as an additional for a Lookup. Will only be available after the item has been saved.
2) Using Cross-site Lookup, you can pull additional fields with the Lookup and access them with JavaScript on the form. Works dynamically, image can change as Lookup changes value.
These methods will get the URL, but won't display the image - you'll need to copy it with JavaScript to the Source of an Image control. If you want more information about either of these methods and how to implement them - do let me know!