Import and visualize <img>

Status
Not open for further replies.

Marco_Oliva

New member
I’m trying to visualize some image imported with “exo_return_hescriptcom(“UserMain.ImportImage”, “Error”);” in “tmp” folder inside Default “Data folder”. (Data/tmp)

I’m trying to point to them by
<img src="ghe://heserver/tmp/filename.jpg"> fail
<img src="/tmp/filename.jpg"> fail
<img src="Data/tmp/filename.jpg"> fail

Checking with php, images are correctly inside that folder.
Any suggestions?
 
Last edited by a moderator:
In your case, it would be better to use a PHP script to read external image files and return image data with appropriate MIME type. We have a working sample in the General Demo that ships with ExeOutput. Since you also have the source code, you can start from that.
 
Status
Not open for further replies.
Back
Top