Instead of uploading images to a public S3 bucket, Fonteva now uploads to a secured S3 bucket with timed links.  Fonteva does this so that links containing sensitive information cannot be passed around. If you use an AWS link, it auto-generates the time link. If it’s not an AWS link, then the image will be displayed as is.

These timed links are only valid for 30 seconds.

 

All of the global attributes below are the same attributes that a Salesforce image tag supports out of the box. So this is essentially a one-to-one replacement of the image tag. If you search for and replace “img” with framework:img it changes it to a Fonteva image.

To instantiate this component, use the following code example:

<Framework:img src="{!v.speakerObj.photoUrl}" class="slds-speaker-image"/>
XML