StrataFrame Forum

Convert a path of a image on db to a image

http://forum.strataframe.net/Topic16552.aspx

By Fabian R Silva, - - 5/23/2008

What is the best way to show a image that I have to convert from a path on the db to a image on my UI? I think about a custom readonly property that read it, serialize it and show it, something like



private _mycustomImage as image



property mycustomimage

get:

if _mycustomimage is nothing then

'-- read image from db and convert it to a image...

_mycustomImage = imagethatIgetfrompath

else

endif

end get