This topic is locked
[SOLVED]

Display Image from a base64 image stored as text in varchar field

5/16/2022 10:08:08 PM
ASPRunner.NET Tips and tricks
R
Rajesh author

I have base64 images stored in varchar filed in the format(see below). How can I display / edit / add such images in an ASPRunner.NET 10.6 page?

<img src="data:image/png;base64,/9j........................................................................................................................................................................................DQuDRRRQM//Z" />

Thanks in advance.

Raj

admin 5/17/2022

As a first step, try setting 'View as' type of this field to 'HTML' and see what happens. If this doesn't help, set 'View as' to 'Custom' and write your own code to display this image.

R
Rajesh author 5/18/2022

Thanks a lot, HTML worked for me.