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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

809 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