# How to Get image from database and displayed in image viewer

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-image-from-database-and-displayed-in-image-viewer/95837>\
**Category:** Ignition\
**Created:** [September 11, 2024, 9:55am UTC](https://forum.inductiveautomation.com/t/how-to-get-image-from-database-and-displayed-in-image-viewer/95837 "2024-09-11T09:55:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [September 11, 2024, 10:03am UTC](https://forum.inductiveautomation.com/t/how-to-get-image-from-database-and-displayed-in-image-viewer/95837/2 "2024-09-11T10:03:21Z")

</div>

You are pasting a dataset into it. you will have to get the the value from out the dataset.  
`{value}[0,0]` (i think, I usually set the return format to json, so not sure)

**Note** : This method will not work if you images are to big. If its to big you will have to use something else like this:

> [@Automation Professionals' Blob Server Module](https://forum.inductiveautomation.com/t/automation-professionals-blob-server-module/57970):
>
> Automation Professionals is pleased to announce an alpha release of its new Blob Server Module. Available only for Ignition v8.1, here. The Blob Server Module provides a simple way to deliver images, PDF files, or other binary content from a database to your Perspective clients or other web applications. Without needing the WebDev module. All you need is a Named Query that has appropriate security settings and returns a single row with two columns: Content, and ContentType. Modest documentati…

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-get-image-from-database-and-displayed-in-image-viewer/95837)._
