I have a custom image field in my profile properties (besides the Profile Image). Its for users who are companies to be able to upload their company logo.
I want to have a company directory, separate from the general user directory, which would display users with a "Company" security role and display the company related fields. (ie. logo, name, address,etc.)
I have a syntax that works for text fields.
<li class="mdTitle"><p><span data-bind="text: ProfileProperties().CustomFieldName"></span></p></li>
But what I can't figure out, is how to display the image that has been uploaded to the "company logo" property.
The default Profile Picture uses some other code, but I don't know how to make that work with a custom field. And I would like to have it work the same way as the text fields, whereas if there is no data entered for the field, it doesn't show anything. Rather than showing a broken image icon.
Anyone know how to do this?