Hi,
Bind the image source to the attribute of type xstring and get image(rawstring) from, DB and display it on view. you can also check this document: Upload and Display an Image at Runtime and this discussion for reference: Displaying image from database table.
hope this helps,
Regards,
Kiran