Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Displaying photo outside wwwroot

Community Beginner ,
May 25, 2020 May 25, 2020

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?

 

 

 

TOPICS
Security
948
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 25, 2020 May 25, 2020

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

Translate
Community Expert ,
May 25, 2020 May 25, 2020

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

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 25, 2020 May 25, 2020

DOH!!!  I knew that.  🙂

Ever wish you could relive the last 30 minutes?

Movie: About Time

Thanks for your contribution to my BRAIN cell. 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 25, 2020 May 25, 2020
LATEST

Join the club! I know exactly how you feel.

 

Dave Watts, Eidolon LLC

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources