Hello.
I am doing a remote view of program parameters written in FPC.
I'm using Synapse and websocket.
As an illustration of states I would like to use images, but I have problems:
I can not handle sending pictures. The whole page is generated
ok except for <img src = "/ images / '+ sc +'. gif">. Where should the directory be?
in relation to the program? I put in lazarus \ MyProgram \ images \ .. does not work.
I tried the absolute path <img src = "C: / images / '+ sc +' .gif">, it does not work.
It only works if the files are on the computer where the browser is,
<img src = "file: / C: / images / '+ sc +' .gif">, ok. But ... works only on IE.
On Google Chrome or Mozilla, not ... :-(
What am I doing wrong?
Thanks in advance,
Kajetan