How to read image path from a temp directory in Linux OS

Hello,

I am writing some image files to the temp folder in the Linux OS directory.

Example the image path will be like this /tmp/ign1326196659787219136.jpg

I need to read this path and show this image in a image or label component. But I am not sure about using this path in Vision client, because client will point the current directory to local OS path ( windows ).

I believe that we can call the Linux server OS path from Gateway scope but in my case I need to call this path in a GUI component in Vision ( Example Button component )

is there any way to fulfill my requirement.

Thanks for the support in advance

You cannot.

The closest you can get is to implement a gateway message handler that will read the requested file and return the bytes to the Vision Client. The image content can then be displayed in a Paintable Canvas. See this topic for implementation ideas:

Also, consider storing your images in a blob column of a database. Vision can query those directly for similar use on a Paintable Canvas, but it will make it easy to display the images in Perspective (via my free Blob Server module).