Fixed inconsistent error return in Image::getThumbnail() -- was returning null if...