show thumbnails

fixed pictureView function (wait till an image is loaded)
added thumbnail to single post page