public static string GetThumbnailUrl(this IUploadStorage uploadStorage, string path) { if (string.IsNullOrEmpty(path)) { return(null); } var thumb = UploadPathHelper.GetThumbnailName(path); return(uploadStorage.GetFileUrl(thumb)); }