.. _Nng\Nnhelpers\ViewHelpers\Uri\ImageViewHelper: ======================================= uri.image ======================================= Description --------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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. .. code-block:: php // 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:'')}