();
diff --git a/src/OrchardCore.Modules/OrchardCore.Media/Views/MediaProfiles/Create.cshtml b/src/OrchardCore.Modules/OrchardCore.Media/Views/MediaProfiles/Create.cshtml
index 31f840a225e..54de371f608 100644
--- a/src/OrchardCore.Modules/OrchardCore.Media/Views/MediaProfiles/Create.cshtml
+++ b/src/OrchardCore.Modules/OrchardCore.Media/Views/MediaProfiles/Create.cshtml
@@ -92,7 +92,7 @@
- @T["The quality percentage for the processed image. Only supported with the JPG format. A value of 100% means a quality command will not be applied."]
+ @T["The quality percentage for the processed image. Only supported with the JPG and WebP format. A value of 100% means a quality command will not be applied."]
diff --git a/src/OrchardCore.Modules/OrchardCore.Media/Views/MediaProfiles/Edit.cshtml b/src/OrchardCore.Modules/OrchardCore.Media/Views/MediaProfiles/Edit.cshtml
index 4557e84e44b..4528e4a07d8 100644
--- a/src/OrchardCore.Modules/OrchardCore.Media/Views/MediaProfiles/Edit.cshtml
+++ b/src/OrchardCore.Modules/OrchardCore.Media/Views/MediaProfiles/Edit.cshtml
@@ -93,7 +93,7 @@
- @T["The quality percentage for the processed image. Only supported with the JPG format. A value of 100% means a quality command will not be applied."]
+ @T["The quality percentage for the processed image. Only supported with the JPG or WebP format. A value of 100% means a quality command will not be applied."]
diff --git a/src/OrchardCore/OrchardCore.Media.Abstractions/IMediaTokenService.cs b/src/OrchardCore/OrchardCore.Media.Abstractions/IMediaTokenService.cs
index 52302043c42..61ec2efe60b 100644
--- a/src/OrchardCore/OrchardCore.Media.Abstractions/IMediaTokenService.cs
+++ b/src/OrchardCore/OrchardCore.Media.Abstractions/IMediaTokenService.cs
@@ -1,4 +1,5 @@
using System.Collections.Generic;
+using System.Collections.ObjectModel;
namespace OrchardCore.Media
{
@@ -9,6 +10,6 @@ namespace OrchardCore.Media
public interface IMediaTokenService
{
string AddTokenToPath(string path);
- bool TryValidateToken(IDictionary commands, string token);
+ bool TryValidateToken(KeyedCollection> commands, string token);
}
}
diff --git a/test/OrchardCore.Benchmarks/MediaTokenServiceBenchmark.cs b/test/OrchardCore.Benchmarks/MediaTokenServiceBenchmark.cs
index 6d671072ec8..93e1d2cad44 100644
--- a/test/OrchardCore.Benchmarks/MediaTokenServiceBenchmark.cs
+++ b/test/OrchardCore.Benchmarks/MediaTokenServiceBenchmark.cs
@@ -33,7 +33,7 @@ static MediaTokenServiceBenchmark()
new ResizeWebProcessor(),
new FormatWebProcessor(Options.Create(new ImageSharpMiddlewareOptions())),
new BackgroundColorWebProcessor(),
- new JpegQualityWebProcessor(),
+ new QualityWebProcessor(),
new ImageVersionProcessor(),
new TokenCommandProcessor()
};