Hi, I need to view image files present on the customer’s PC within the html page.
If I enter the absolute path it doesn’t find the image and the prefix is added
https:\heserve\public.
How can I enter the correct path to view a client file located in a folder on his PC?
By default, apps read data from the .exe (compiled files). If not available, they start looking into the folder where the .exe lies.
For instance, if your exe lies in
D:\Documents
and your img src is “myfolder/myimg.jpg”, the app will try
D:\Documents\myfolder\myimg.jpg
You can also use PHP to read image files’ content and feed it to the browser.
We wrote a sample in the General Demo that does that.