Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6982975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:21:31+00:00 2026-05-27T18:21:31+00:00

Images not displaying in adrotator where its picture path like C:\Uploader\Image.jpg or some shared

  • 0

Images not displaying in adrotator where its picture path like “C:\Uploader\Image.jpg” or some shared folder in server.If i give the path inside my project,its working but outside the project ( like “C:\Uploader\Image.jpg”) it not showing anything.

<telerik:RadRotator ID="radSlider" runat="server" FrameDuration="400" ScrollDuration="500"
ScrollDirection="Left" Height="250px" Width="550px">
<ItemTemplate>
    <img src='<%# Eval("FullName") %>' alt="Friday" width="550px" />
 </ItemTemplate>
</telerik:RadRotator>

Here i am attaching the path dynamically using databind.What is the problem.Plz help me?Telerik or asp control

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:21:32+00:00Added an answer on May 27, 2026 at 6:21 pm

    The client browser will never know where those images are unless you map a virtual directory to the images. Even you can not use Server.MapPath() etc to map the drive.

    You should use an HttpHandler to access the file outside of your
    application virtual directory.

    Check following SO thread that much relevant to your problem:
    Show Images from outside of ASP.NET Application

    Another approach that i have gotten after goggle about this as follow:

    You can try to access the file outside application’s virtual directory. you need to pay attention to the folder/file enough permission.

    you can to access the images in your website, you can check the following link:

    Displaying images that are stored outside the Website Root Folder

    protected void Page_Load(object sender, EventArgs e)
    
    {
    
    if (Request.QueryString["FileName"] != null)
    
    {
    
        try
    
        {
    
            // Read the file and convert it to Byte Array
    
            string filePath = "C:\\images\\";
    
            string filename = Request.QueryString["FileName"];
    
            string contenttype = "image/" +
    
            Path.GetExtension(Request.QueryString["FileName"].Replace(".","");
    
            FileStream fs = new FileStream(filePath + filename,
    
            FileMode.Open, FileAccess.Read);
    
            BinaryReader br = new BinaryReader(fs);
    
            Byte[] bytes = br.ReadBytes((Int32)fs.Length);
    
            br.Close();
    
            fs.Close();
    
    
    
            //Write the file to response Stream
    
            Response.Buffer = true;
    
            Response.Charset = "";
    
            Response.Cache.SetCacheability(HttpCacheability.NoCache);
    
            Response.ContentType = contenttype;
    
            Response.AddHeader("content-disposition", "attachment;filename=" + filename);
    
            Response.BinaryWrite(bytes);
    
            Response.Flush();
    
            Response.End();
    
        }
    
        catch
    
        {
    
        }
    
    }
    
    }
    

    Hope this help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote this code but its not displaying the images someone know how to
I want to display the image like first image but my images are displaying
Looks fine in firefox but the image is not displaying in center. In Chrome
I'm retriving contacts from WP7. Some contacts having images some not having. I want
The top background image is not repeating or displaying full height in IE7. It
i am trying to put context path for an image in HTML. <img src=/MyWeb/images/pageSetup.gif>
I have made a custom ArrayAdapter but it is not displaying the different images
http://jsfiddle.net/chris2011/Zz9nY/1/ Could someone let me know why the bacground images are not displaying inline?
Regarding TJvRichEdit and Delphi... How? Load/Save rtf (including text and images - not only
Is there any reason why images are not being displayed if I place it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.