How to Get image from database and displayed in image viewer

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: