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
<PackageReference Include="Cogworks.Tinifier" Version="1.0.0" />
paket add Cogworks.Tinifier --version 1.0.0
#r "nuget: Cogworks.Tinifier, 1.0.0"
// 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
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.
- 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 | Versions 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. |
-
net7.0
- Azure.Storage.Blobs (>= 12.19.1)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.1.1)
- NPoco (>= 5.7.1)
- Umbraco.Cms.Core (>= 12.0.1)
- Umbraco.Cms.Infrastructure (>= 12.0.1)
- Umbraco.Cms.Web.BackOffice (>= 12.0.1)
- Umbraco.Cms.Web.Common (>= 12.0.1)
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 |