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
209 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

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 …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

685 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