Because of permission issues, I need to link to images in my web page which are stored in /tmp which of course is located in the root directory but my actual html page is much further down in another directory. I thought the the following code should work, but the image comes up as a broken link:
But Im not sure you really want to do this. Why are you storing images in tmp? this is a "temporary" place to images and could be wiped at anytime, usually on reboot.
Thanks for the reply. I agree, storing images in tmp doesn't seem like a good idea. The web site is hosted on an oracle server and my DBA suggested I go this route since tmp is readable to me and my local directory for the web site is not (I have to upload the files using Oracle Application Server Control). If I store the images in my local web directory they will indeed show up on the web page, but I need to have access to the files as well to check their time stamps manually (they are generated by an app on the server and I need to look at the files for debugging).
I have a related problem as well. I also need these images to be linked to by other external web sites from other people. Does this external linking require any special configuration on my part?