change thumbnail to qimage, ref #135