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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
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…
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

14 Experts available now in Live!

Get 1:1 Help Now