Baaijte.Optimizely.ImageSharp.Web
2.1.3
dotnet add package Baaijte.Optimizely.ImageSharp.Web --version 2.1.3
NuGet\Install-Package Baaijte.Optimizely.ImageSharp.Web -Version 2.1.3
<PackageReference Include="Baaijte.Optimizely.ImageSharp.Web" Version="2.1.3" />
paket add Baaijte.Optimizely.ImageSharp.Web --version 2.1.3
#r "nuget: Baaijte.Optimizely.ImageSharp.Web, 2.1.3"
// Install Baaijte.Optimizely.ImageSharp.Web as a Cake Addin #addin nuget:?package=Baaijte.Optimizely.ImageSharp.Web&version=2.1.3 // Install Baaijte.Optimizely.ImageSharp.Web as a Cake Tool #tool nuget:?package=Baaijte.Optimizely.ImageSharp.Web&version=2.1.3
License
- Baaijte.Optimizely.ImageSharp.Web is licensed under the Apache License, Version 2.0
- This package is supported in a best effort sense
Note As of version 2.0.0 this package targets .NET6.0 and Optimizely.CMS.Core version 12.5.0 or higher
Installation
Baaijte.OptimizelyImageSharp.Web is installed via the Optimizely NuGet feed
Package Manager
PM > Install-Package Baaijte.Optimizely.ImageSharp.Web -Version VERSION_NUMBER
.NET CLI
dotnet add package Baaijte.Optimizely.ImageSharp.Web --version VERSION_NUMBER
Setup and Configuration
Once installed you will need to add the following code to ConfigureServices
and Configure
in your Startup.cs
file.
This installs the the default service and options.
public void ConfigureServices(IServiceCollection services) {
// Add the default service and options.
services.AddBaaijteOptimizelyImageSharp();
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) {
// Add the image processing middleware.
app.UseBaaijteOptimizelyImageSharp();
}
DO NOT add other SixLabors.ImageSharp.Web
settings!!
Also add using Baaijte.Optimizely.ImageSharp.Web;
at the top of your Startup.cs
file if it was not automatically added.
Configuration for use with DXP
public void ConfigureServices(IServiceCollection services) {
services.AddImageSharp()
.Configure<AzureBlobStorageCacheOptions>(options =>
{
options.ConnectionString = _configuration.GetConnectionString("EPiServerAzureBlobs");
options.ContainerName = "mysitemedia";
})
.ClearProviders()
.AddProvider<BlobImageProvider>()
.SetCache<AzureBlobStorageCache>();
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) {
// Add the image processing middleware.
app.UseBaaijteOptimizelyImageSharp();
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- EPiServer.CMS (>= 12.13.2)
- SixLabors.ImageSharp (>= 2.1.4)
- SixLabors.ImageSharp.Web (>= 2.0.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Baaijte.Optimizely.ImageSharp.Web:
Package | Downloads |
---|---|
Forte.EpiResponsivePicture
Smart responsive images in EPiServer with ImageResizing.Net and Focal point |
|
Eshn.Plugins.FocalPoint
This package supports user choose focal point of an image then cropping bases on it |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Baaijte.Optimizely.ImageSharp.Web:
Repository | Stars |
---|---|
episerver/Foundation
Foundation offers a starting point that is intuitive, well-structured and modular allowing developers to explore CMS, Commerce, Personalization, Search and Navigation, Data Platform and Experimentation.
|
Version | Downloads | Last updated |
---|---|---|
2.1.3 | 35,153 | 5/16/2023 |
From version 2.0 this package is targeting .NET 6