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
Ricardo Coutinho 7Ricardo Coutinho 7 

Import Image to Lightning Components

Hi Guys,
I created a field for contacts name: "image" and now i'm trying to import the image to a lightning component.
I have this code:
      <td data-label="Picture" title="Pic">
      <td data-label="Name" title="Name">
      <td data-label="birthdate" title="birthdate">
      <td data-label="Steet" title="street">
      <td data-label="Email" title="email">
But the final import is this:

User-added image
As you can see, he is importing the field but i don't know why the image is not showing, instead he show's the code...
Ricardo Coutinho 7Ricardo Coutinho 7
I already know how it is.
I need to use outputRichText tag, like this:

<ui:outputRichText value="{!contact.Image__c}"/>