Cogworks.Tinifier 1.0.0

Prefix Reserved
dotnet add package Cogworks.Tinifier --version 1.0.0                
NuGet\Install-Package Cogworks.Tinifier -Version 1.0.0                
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="Cogworks.Tinifier" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cogworks.Tinifier --version 1.0.0                
#r "nuget: Cogworks.Tinifier, 1.0.0"                
#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.
// Install Cogworks.Tinifier as a Cake Addin
#addin nuget:?package=Cogworks.Tinifier&version=1.0.0

// Install Cogworks.Tinifier as a Cake Tool
#tool nuget:?package=Cogworks.Tinifier&version=1.0.0                

Cogworks.Tinifier

NuGet release

is a free Umbraco package for image compression that removes files size limits, supports Azure. It allows to dramatically reduce the size of PNG and JPEG images which positively influence on a page loading time and visitors loyalty.

Usage

Basic Functionality

  • The ability to toggle the package functionality on/off in the settings
  • Individual images optimization
  • Bulk images optimization
  • Image optimization on upload
  • Folders optimization
  • Supported image formats: PNG and JPEG
  • Optimized image stats
  • Total savings widget
  • API requests widget
  • Umbraco 12.0.1+
  • Save metadata
  • Tinify everything (all media)
  • Undo Tinify

Backoffice Dashboard

  • A dashboard has been added to the Settings section of the backoffice
  • You need to add the Tinifier Section according the group member in the Umbraco Backoffice. Tinifier-Section
  • This dashboard contains a button to manually trigger a Full Tinify (to optimize all the current media) or Stop Tinify (to reset Tinifier tables).
  • There is also options to view and manage the current configuration for the package : API key, Optimize on upload, Enable undo optimization and Preserve image metadata.
  • An image and folder could be tinified.

Installation

Install through dotnet CLI:

dotnet add package Cogworks.Tinifier

Or the NuGet Package Manager:

Install-Package Cogworks.Tinifier

You can set the settings in the backoffice, or add these settings to the appsettings.json (this will be always the priority).

  "CogTinifierSettings": {
    "ApiKey": "xxx",
    "EnableOptimizationOnUpload": true,
    "EnableUndoOptimization": true,
    "PreserveMetadata": true 
  }

Backoffice UI Test User:

Email: admin@admin.com
Password: 0123456789

Acknowledgements

This package was inspired by the work of Dmytro Obolonyk in UmbracoTinifier2. Thank you for your valuable contributions!

License

Licensed under the MIT License

© 2024 Cogworks

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
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
1.0.0 138 6/14/2024