PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Base64 string to Image
Base64 string to Image
Iniciado por dave, 02,ago. 2023 13:36 - 1 respuesta
Publicado el 02,agosto 2023 - 13:36
Hi Fellow Developers. I have a base64 encoded string stored into text variable in my database called photo_text. I need to display this on my WebPage (WebDev) in an image control:

sDataURL is string = StringBuild("data:", typeMimePNG, ";base64,", TABLE_QRY_UserList.COL_PhotoText)

IMG_Staff..Image = sDataURL

I am using this code.. Can anyone advise why it is not displaying?
Miembro registrado
127 mensajes
Publicado el 08,agosto 2023 - 10:31