Solved

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

Posted on 2008-10-27
2
205 Views
Last Modified: 2012-05-07
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?
0
Comment
Question by:modeza
2 Comments
 
LVL 6

Accepted Solution

by:
AmarIs26 earned 500 total points
ID: 22814413
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
 

Author Comment

by:modeza
ID: 22814478
Thank you very nuch!!!! It was the directory!!! ahhh I didn't see it!!! I didn't see it!!!!!!!!!!!!!!!!!!!!
THANKS A LOT!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now