FIX: When pass $thumbPath as NULL to static::createThumb function.