Are you using DotImage 3.0? The interface changed a bit in 4.0 for adding thumbnails. Now the code looks like this:
thumbnailViewer.Items.Add(filename, "New File");
However you can also add a thumbnail class like this:
Thumbnail thumb = new Thumbnail(filename, "New File");
thumb.Tag = anyObject;
thumbnailViewer.Items.Add(thumb);
That should allow you to add anything you want to the thumbnail object that you can then access from the collection later.
Hope that helps.
Bill Bither
Atalasoft