ASP .NET newbie question

C

Chris

Hi all,

I've built a website in VS2005 using ASP .NET. The problem I'm having is
that images which are put in App_Data folder will only show in the designer.
I'm trying to show images with the CSS "background-image:" tag. If I take
the images out of the folder they show.

Any ideas what might be causing this?

Chris
 
S

S. Justin Gengo [MCP]

Chris,

Images should not be stored in the App_Data folder. It's not meant to be
accessed by the public since it is generally going to contain classes.

Instead store your images in an "Image" folder.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
C

Chris

Chris said:
Hi all,

I've built a website in VS2005 using ASP .NET. The problem I'm having is
that images which are put in App_Data folder will only show in the
designer. I'm trying to show images with the CSS "background-image:" tag.
If I take the images out of the folder they show.

Any ideas what might be causing this?

Chris

Argh, ignore me. I figured out what I was doing wrong.

Regards,

Chris
 
M

^MisterJingo^

S. Justin Gengo said:
Chris,

Images should not be stored in the App_Data folder. It's not meant to be
accessed by the public since it is generally going to contain classes.

Instead store your images in an "Image" folder.


I realised that not long after posting the question. I'm very new to
ASP and perhaps should read the more tutorials instead of jumping in
head first :)

Chris
 
S

S. Justin Gengo [MCP]

Chris,

Don't worry about it. We all have to start somewhere. I think the correct
phrase is: "The devil is in the details." There are a lot of devils in
programming!

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top