We have IP is integrated with IDM. We have a attribute which has image URL. We can see the image in IDM, in the user's profile but we are not able to display the image in IP.
Instead of the image we just see the URL of the image.
In this case the actual image itself is not stored in the IDM user attribute. Instead, the IDM attribute stores a link, or URL, to the location of the image.
After adding script to Handlers we were able to call the URL for the image and see the image displayed in Identity Portal.
Steps performed to get Image in UI:
var photo1= api.getProp('photo').value;
api.getProp("image").message = '<div><p></p><p>PIV Photo</p><img src="' + photo1 + '"></div>';