Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Red X Displayed for Image

Status
Not open for further replies.

arznrchrd

Technical User
May 17, 2006
234
US
I have a local test website. Running off of IIS 7 on Windows Vista. I have everything setup. I created a website, put a gif image into app_globalresources folder and then added it to the default.aspx. In the designer I see the image fine. When I run the website, a red x is displayed instead of the image. I can browse the image if I put the direct path in IE. But when it runs from the website (localhost) a red X displays. Any ideas here? I am running VS2005 as admin.
 
That is not the function of the app_GlobalResources folder"
BOL said:
App_GlobalResources
Contains resources (.resx and .resources files) that are compiled into assemblies with global scope. Resources in the App_GlobalResources folder are strongly typed and can be accessed programmatically. For more information, see ASP.NET Web Page Resources Overview.
[/quote BOL]
You should create an images folder, and reference the path in the scr property, or ImageURL property.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top