Figure 3. Provide Thumbnails in a DataList.
This TreeViewAndThumbnails.aspx page displays the thumbnails of the two images stored in the OfficeItems folder. You create the thumbnails using the GetThumbNailImage method of the System.Drawing.Image class.