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
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.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
Hope this help.