Badgernet.Umbraco.MediaTools 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Badgernet.Umbraco.MediaTools --version 1.0.4
                    
NuGet\Install-Package Badgernet.Umbraco.MediaTools -Version 1.0.4
                    
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="Badgernet.Umbraco.MediaTools" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Badgernet.Umbraco.MediaTools" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Badgernet.Umbraco.MediaTools" />
                    
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 Badgernet.Umbraco.MediaTools --version 1.0.4
                    
#r "nuget: Badgernet.Umbraco.MediaTools, 1.0.4"
                    
#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 Badgernet.Umbraco.MediaTools@1.0.4
                    
#: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=Badgernet.Umbraco.MediaTools&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Badgernet.Umbraco.MediaTools&version=1.0.4
                    
Install as a Cake Tool

Badgernet.Umbraco.MediaTools

This package adds additional functionalities to Umbraco media section.

  • Automatic downsizing and converting images into "webp" format when uploading them.
  • Search images by their resolution, extension, name, folder,...
  • Resize, convert or download images from the media section in bulk.
  • Simple image editor that provides basic editing functionalities

Important notes

When using uSync

This package will also process any images imported using the uSync import feature. Be sure to turn off the converter / resizer (via the dashboard) to prevent that.

Umbraco Cloud

This package was not tested in Umbraco Cloud environment, or with any custom FileSystem providers. <br> Any testing with those would be very welcome.

Older version of Umbraco?

This package is compatible with Umbraco version 14 and newer. If you are looking for similar functionalities for Umbraco 13, take a look at this repository


Installation

Simply add the package by using dotnet add package to install the latest version:

dotnet add package Badgernet.Umbraco.MediaTools

Un-installation

dotnet remove package Badgernet.Umbraco.MediaTools

Changelog

Version 1.0.4
  • Fix: works with Umbraco > 15.1.0
Version 1.0.3
  • Added simple image editor
  • Minor UI fixes
Version 1.0.2
  • Rename image from the dashboard
  • Fix: Image list updates after processing
  • Fix: Images would sometimes rotate when resizing
Version 1.0.1
  • Works with Umbraco 15
Version 1.0.0
  • First version

Settings

You can change settings by accessing the "Upload processing" dashboard in the Media section in backoffice. This package uses settings on per-user basis, settings files are stored under: "App_Plugins/Badgernet.Umbraco.MediaTools/Settings


Resolution limiter

Max width

Resizer will scale images down to fit max width value

Max height

Resizer will scale images down to fit max height

Ignore aspect ratio

By default, resizing will maintain image aspect ratio.


WebP Converter

Convert mode

"Lossy" mode will produce smaller file size images. ← this is the preferred / default mode
"Lossless" mode will produce better quality images.

Convert quality

Quality of conversion, lower value will produce smaller file size images but image quality will also be worse.

Keep original images

If turned on, original images will not be deleted

Ignore keyword

Any images containing this keyword in its filename will be ignored by this package. → "ignoreme_IMG01012024.png" would not get processed.


Credits

Big thanks to Kevin Jump for providing "EarlyAdopter's Guide Umbraco v14" series on dev.to

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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
16.0.0 212 7/9/2025
1.1.2 248 4/8/2025
1.1.1 170 3/27/2025
1.1.0 133 3/21/2025
1.0.6 190 2/13/2025
1.0.5 152 2/10/2025
1.0.4 146 2/5/2025
1.0.3 147 2/2/2025

Image editing