Copy link to clipboard
Copied
For security reasons, I am uploading photos to OUTSIDE the /inetpub/wwwroot/ area on my server.
To c:\isolate\
Then emailing the admin a copy of the photo for admin to approve photo.
How do I get the photo display???
Under normal circumstances, I simply do a:
<img src="http://www.domain.com/images/photo_name.jpg">
But what when it's outside the web root?
I have tried what I thought was the obvious
<img src="c:\isolate\photo.jpg">
I do not get an "error" (a "symbol" top left of the image) but I get a blank.
What am I missing?
Not really a CF issue, more an HTML one?
You're not going to be able to provide a web link to a file that isn't web-accessible. But I think you could read the file from the directory and make it an attachment using CFMAILPARAM.
Dave Watts, Eidolon LLC
Copy link to clipboard
Copied
You're not going to be able to provide a web link to a file that isn't web-accessible. But I think you could read the file from the directory and make it an attachment using CFMAILPARAM.
Dave Watts, Eidolon LLC
Copy link to clipboard
Copied
DOH!!! I knew that. 🙂
Ever wish you could relive the last 30 minutes?
Movie: About Time
Thanks for your contribution to my BRAIN cell.
Copy link to clipboard
Copied
Join the club! I know exactly how you feel.
Dave Watts, Eidolon LLC