[Gambas-user] Data.Image WebTable (gb-web-gui)

John Dovey dovey.john at gmail.com
Tue Jul 6 06:04:36 CEST 2021


This might have nothing to do with your problem, but I would construct
that string something like this:
Data.Html = "<img src=" & chr(34) & "img/alert.png" & chr(34) & ">"
because I've had all sorts of problems with escaped strings through
the years.. ;-)

On Mon, 5 Jul 2021 at 20:43, Herberth Guzman <herberthguzman at gmail.com> wrote:
>
> Hi
> I have a web project (gb-web-gui)
>
> I need to display an image in a webtable
>
> the code:
> Data.Image = ("img/alert.png")
>
> but it doesn't work, am I doing something wrong ..?
>
> this code if it works
> Data.Html = "<img src=\"" & ("img/alert.png") & "\">"
>
> The problem with this code is that it works fine at runtime.
> But when I compile and upload it to my server it doesn't show the image.
>
> Can anybody help me.
>
> Thanks
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----


More information about the User mailing list