Humble.Umbraco.AutoFormatImagesToWebp 13.0.1-beta

Prefix Reserved
This is a prerelease version of Humble.Umbraco.AutoFormatImagesToWebp.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Humble.Umbraco.AutoFormatImagesToWebp --version 13.0.1-beta
                    
NuGet\Install-Package Humble.Umbraco.AutoFormatImagesToWebp -Version 13.0.1-beta
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Humble.Umbraco.AutoFormatImagesToWebp" Version="13.0.1-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Humble.Umbraco.AutoFormatImagesToWebp" Version="13.0.1-beta" />
                    
Directory.Packages.props
<PackageReference Include="Humble.Umbraco.AutoFormatImagesToWebp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Humble.Umbraco.AutoFormatImagesToWebp --version 13.0.1-beta
                    
#r "nuget: Humble.Umbraco.AutoFormatImagesToWebp, 13.0.1-beta"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Humble.Umbraco.AutoFormatImagesToWebp@13.0.1-beta
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Humble.Umbraco.AutoFormatImagesToWebp&version=13.0.1-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Humble.Umbraco.AutoFormatImagesToWebp&version=13.0.1-beta&prerelease
                    
Install as a Cake Tool

Automatically Format Images to WebP

This middleware will automatically format HTTP requests for media (jpeg, jpg, png) to the webp format if the browser supports it.

The middleware accomplishes this conversion by modifying the query string in the request and adding format=webp. The ImageSharp library, a dependency of Umbraco, handles this request and formats the image accordingly.

  • Skips formatting when the browser or client does not support image/webp.
  • Transforms only images located within the Umbraco Media path (e.g., /media/{unique}/{file}.{ext}).
  • Honors explicitly requested formats (e.g., ?format=jpg).
  • Excludes files uploaded through Umbraco Forms (e.g., /media/forms/upload/{file}.{ext}).

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

License information was last updated May 19th, 2024.


Who Made This

Innovative apps, immersive XR experiences, and AI solutions that'll exceed your expectations, not your budget. We are also a Umbraco Certified Gold Partner!
Next Player Up


Release History

13.0.1-beta

  • Supports Umbraco v17.0.0-beta
  • Refactor, small optimizations.
  • Move to SemVer 2 scheme.

13.0.0.3

  • Supports Umbraco v16.x.x

13.0.0.2

  • Supports Umbraco v15.x.x

13.0.0.1

  • Middleware will now ignore Umbraco Forms attachments.

13.0.0.0

  • For Umbraco v13.x.x
  • Registers middleware that listens for image requests, and if supported, upgrades image requests to the webp format.

You've reached the end of readme.md.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
13.0.1-rc 93 4/10/2026
13.0.1-beta 303 10/21/2025
13.0.0.3 1,191 6/12/2025
13.0.0.2 300 3/22/2025