I am doing a very simple task: adding an image to a web page. I have done this dozens of times. Yet I must be overlooking something obvious, because it does not work.
The graphic is a .jpg. I did this to use it:
1) In Windows, I put it into the project's folder.
2) I right-clicked my project in solution explorer, and I added it.
3) I went to the "web forms" section of the toolbox. I drug an "image" onto the .aspx page.
4) In the image's properties, I clicked the build button ("...") beside "imageUrl". My image was visible in the select image interface. I choose it. The url type was "relative". The url is the jpg's name.
5) I built the project and previewed the web page.
6) I could NOT see the graphic!!
The graphic is a .jpg. I did this to use it:
1) In Windows, I put it into the project's folder.
2) I right-clicked my project in solution explorer, and I added it.
3) I went to the "web forms" section of the toolbox. I drug an "image" onto the .aspx page.
4) In the image's properties, I clicked the build button ("...") beside "imageUrl". My image was visible in the select image interface. I choose it. The url type was "relative". The url is the jpg's name.
5) I built the project and previewed the web page.
6) I could NOT see the graphic!!