ASP .NET newbie question

  • Thread starter Thread starter Chris
  • Start date Start date
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
 
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
 
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
 
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
 
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
 
Back
Top