showing images and documents outside the office

Hello,
I have a problem showing images and documents when smartclient is started outside the office (connected to the applicationserver through the firewall, NO VPN).
Maybe the problem is that the images and documents are stored on an other server. See the following calculation for better understanding:

function calculation_photo() {
  var vdat;
  var vbild = "//Servername/Photopath/" + id_nr + ".jpg"; 
  if (plugins.file.getFileSize(vbild)>0) { 
´   vdat = plugins.file.readFile(vbild) ;
  } else { 
    vdat = plugins.file.readFile("//Servername/Photopath/NoPic.jpg") ;
  } 
  return vdat; 
}

Everything is fine when starting the smartclient within our network. On external place I get the “File open” Dialogue when opening a form with the calculated media field.
How is it possible to show images from a fileserver when I am outside the office?

The smart-client communicates directly to the server path, (not through your servoy application-server) so inside your LAN this will work, but outside your LAN (your WAN!) this will never work!

You have to use the file plugin (remote streaming files) for that! or using some 3th party file streaming tool, like the UserManagerPro plugin of http://www.servoy-plugins.de

Ok, I see.
Thanks for this information.