uri.image 

Description 

<nnt3:uri.image /> 

Simplifies the use of the Uri.ImageViewhelper.

Does not throw an error if no image or src was passed. Also allows the transfer of an array, simply pulls the first image.

// tt_content.image is actually an array. It simply renders the first image!
{nnt3:uri.image(image:data.image)}

// does not throw an error (if the editor has not uploaded an image!)
{nnt3:uri.image(image:'')}
Copied!