The best answer I found if you are using Apache. which I am is to use the Apache Alias function to allow access to the internal directory.
As suggested by the answer from BGY above.
I added the following to http.conf:
Alias /fabimages p:/IMDATA/IMAGES
<Directory p:/IMDATA/IMAGES>
Order allow,deny
Allow from all
</Directory>
in my code, I set the .src attribute for the image I need:
var fabimage = document.getElementById("fabImageTag");
fabimage.src="/fabimages/"+imageName;
sdfor source
share