It's just not that simple.
In a windows forms application you can keep everything in the same place.
In an ASP.NET app your Image controls must point to a separate URL which
means you have to split your code up and deal with somewhat more complex
concepts like those in the article.