graphic: update doGetImageSize()
graphic: add ThumbnailImage() and ThumbnailImageCache()