When i use an image control to display it and run in into the browser is not showing the image, please help?

I am new in ASP.Net I am trying to load images in my development, what I did is I already placed an image into the ASP app_data directory. I am using the image control to display it, I already select in the imageurl property the path of the image :"~/App_Data/Images/Imagen1.GIF", and whe I am running the web page it is showing my a little red x. I have read about it but I haven't found nothig yet...Please Help Me it is taking so long in this part and I need to finish this proyect by fryday!!!!!
Thanks for any help!!! Am I missing something?
modezaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
AmarIs26Connect With a Mentor Commented:
App_Data directory is not really for images but i dont know if that should cause problems (NTFS Permissions?). Make sure you are using an ASP.Net image control or have marked the html img control to runat="server" before using the ~ (tilde).

Finally i would suggest you move the images folder out of App_Data folder and reference your images from ~/Images/


0
 
modezaAuthor Commented:
Thank you very nuch!!!! It was the directory!!! ahhh I didn't see it!!! I didn't see it!!!!!!!!!!!!!!!!!!!!
THANKS A LOT!
0
All Courses

From novice to tech pro — start learning today.