there is a book called asp.net 2.0 instant results by wrox that has a sample project that is a fully functional photo sharing app in vb.net. they also have a basic blog, cms and other things but i didn't like the way they organized their code for some reason
(it was a while ago). you can download the source from their site but i would buy the e-version of the book if you use it.
you could also try dotnetnuke with a photo module.