# Use a UNC path for Image Component in a Expression

**URL:** <https://forum.inductiveautomation.com/t/use-a-unc-path-for-image-component-in-a-expression/21339>\
**Category:** Ignition\
**Created:** [December 11, 2018, 5:04pm UTC](https://forum.inductiveautomation.com/t/use-a-unc-path-for-image-component-in-a-expression/21339 "2018-12-11T17:04:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neil\_B](https://avatars.discourse-cdn.com/v4/letter/n/e95f7d/32.png) [@Neil\_B](https://forum.inductiveautomation.com/u/Neil_B)\
**Post date:** [December 11, 2018, 5:04pm UTC](https://forum.inductiveautomation.com/t/use-a-unc-path-for-image-component-in-a-expression/21339/1 "2018-12-11T17:04:14Z")

</div>

I’m trying to get a path from a dataset then use the path for an Image Component.  
I need to add file:/// before the properties to get it to work.

How can I prepend this try({Root Container.Image List.data}[{Root Container.Image List.selectedRow}, “Original Image Path”], 0)

with this file:/// ?

---

<div class="post-metadata">

**Author:** ![Stevenson.Yuan](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@Stevenson.Yuan](https://forum.inductiveautomation.com/u/Stevenson.Yuan)\
**Post date:** [December 11, 2018, 8:03pm UTC](https://forum.inductiveautomation.com/t/use-a-unc-path-for-image-component-in-a-expression/21339/2 "2018-12-11T20:03:18Z")

</div>

Did you mean something like this?:

```auto
concat("file:///",try({Root Container.Image List.data}[{Root Container.Image List.selectedRow}, "Original Image Path"], ""))

```
