# Images in Perspective Tables

**URL:** <https://forum.inductiveautomation.com/t/images-in-perspective-tables/26925>\
**Category:** General Discussion\
**Created:** [July 27, 2019, 3:03am UTC](https://forum.inductiveautomation.com/t/images-in-perspective-tables/26925 "2019-07-27T03:03:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrd](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jrd](https://forum.inductiveautomation.com/u/jrd)\
**Post date:** [July 27, 2019, 3:03am UTC](https://forum.inductiveautomation.com/t/images-in-perspective-tables/26925/1 "2019-07-27T03:03:22Z")

</div>

Do perspective tables support the ability to insert Images in cells?

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [July 27, 2019, 5:36pm UTC](https://forum.inductiveautomation.com/t/images-in-perspective-tables/26925/2 "2019-07-27T17:36:01Z")

</div>

You can set the column render mode to View and point it to a view that displays an image.

---

<div class="post-metadata">

**Author:** ![jrd](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jrd](https://forum.inductiveautomation.com/u/jrd)\
**Post date:** [July 28, 2019, 2:38am UTC](https://forum.inductiveautomation.com/t/images-in-perspective-tables/26925/3 "2019-07-28T02:38:55Z")

</div>

Thank you jpark  
That worked a treat  
Now I want to set a default size for the images/icons. It seemed to me that I could set viewPrams in the table and pass those to the embedded view. But I didn’t make that work.  
What is the correct way to pass size params to the embedded icon?

Thank you

---

<div class="post-metadata">

**Author:** ![jrd](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jrd](https://forum.inductiveautomation.com/u/jrd)\
**Post date:** [July 28, 2019, 3:47am UTC](https://forum.inductiveautomation.com/t/images-in-perspective-tables/26925/4 "2019-07-28T03:47:52Z")

</div>

And another question:  
I want the image to depend on the value that would otherwise be displayed in the cell, ie

if(  
“cell\_contents” = 1,  
“IconViews/TankImage”,  
“IconViews/PipeImage”  
)

How do I reference cell\_contents in the viewPath?

Thanks
