PC Review


Reply
Thread Tools Rating: Thread Rating: 2 votes, 1.00 average.

Displaying an image on the C: drive?

 
 
Steve Hershoff
Guest
Posts: n/a
 
      9th Feb 2007
I'd like to display a jpeg image sitting on the C: drive of my webserver.
The directory the image is under however, isn't beneath inetpub\wwwroot. Is
there a way for an aspx page to display an image located on a specific
folder on the hard drive?

Specifically, it's an <asp:Image> control that displays the image. Is there
anyway to do this via the ImageURL property? Probably not but I thought I'd
ask.


 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      10th Feb 2007
you have two options. first give asp.net read access to the images, then:

1) supply a asp.net page that returns the image
2) in iis create a vdir for the images under your aps.net vdir. (there
is no requirement that vdir be under inetpub)

-- bruce (sqlwork.com)


Steve Hershoff wrote:
> I'd like to display a jpeg image sitting on the C: drive of my webserver.
> The directory the image is under however, isn't beneath inetpub\wwwroot. Is
> there a way for an aspx page to display an image located on a specific
> folder on the hard drive?
>
> Specifically, it's an <asp:Image> control that displays the image. Is there
> anyway to do this via the ImageURL property? Probably not but I thought I'd
> ask.
>
>

 
Reply With Quote
 
Thomas Hansen
Guest
Posts: n/a
 
      11th Feb 2007
On Feb 10, 2:40 am, bruce barker <nos...@nospam.com> wrote:
> you have two options. first give asp.net read access to the images, then:
>
> 1) supply a asp.net page that returns the image
> 2) in iis create a vdir for the images under your aps.net vdir. (there
> is no requirement that vdir be under inetpub)



....or use DynamicImage...!
(http://ajaxwidgets.com/AllControlsSa...amicImage.aspx)

..t

--
http://ajaxwidgets.com
Free ASP.NET Ajax Widgets NOW!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Image control on form - not displaying the image stored in a file Icebox Microsoft Access Forms 8 2nd Mar 2009 09:52 AM
Hyperlink to an image in other worksheet, displaying entire image. =?Utf-8?B?dHdpbGxpYW1z?= Microsoft Excel Worksheet Functions 0 7th Feb 2006 10:02 PM
Anyone web based image back up services or Acronis Drive Image 7.0 vs Symantec Drive Image 7.0 FransHals Computer Hardware 5 25th Jun 2004 02:51 AM
Anyone web based image back up services or Acronis Drive Image 7.0 vs Symantec Drive Image 7.0 FransHals Storage Devices 5 25th Jun 2004 02:51 AM
Re: Displaying a image (image path is in a field) for each record in a report. Bruce M. Thompson Microsoft Access Reports 0 26th Jul 2003 05:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:26 AM.