PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → Base64 string to Image
Base64 string to Image
Iniciado por David Stevens, ago., 02 2023 1:36 PM - 1 resposta
Publicado em agosto, 02 2023 - 1:36 PM
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?
Membro registado
122 mensagems
Publicado em agosto, 08 2023 - 10:31 AM