Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
in previous projects I have used ImageGen to compress my images on the fly.
But if I remender, in Umbraco 7 there is a built-in processor for images.
Where can I find docs about this? Or can someone show me how to use this?
Starting point is here: http://imageprocessor.org/
Need plugin in Umbraco for image compression
Do you want to resize images or compress?
For compression we need some tool like - https://tinypng.com/
Package for compression - https://our.umbraco.org/projects/backoffice-extensions/official-kraken-image-optimizer-plugin-for-umbraco/
is for compression and resizing on the fly, so for images comming from the media section and static images located in the directory images.
Than as mentioned Dirk - http://imageprocessor.org/ for you
Are there examples by using it in Umbraco?
Just add params to GET Url of your image :
Read more imageProcessor functions - http://imageprocessor.org/imageprocessor-web/imageprocessingmodule/resize/
If I use the following I don't see any difference:
<img width="200" src="@_photo.GetPropertyValue("umbracoFile")?quality=90" alt="@_photo.Name" />
So I take an image from the media section and set the quality to 90%.
Where is this new image located? Does it get stored in a cache folder?
new image should be in cache folder yes, but will be hard to guess what folder it is, due to how the folder structure gets designed (main reason is to not have to many subfolders as it might crash windows explorer on that)
?quality=X param is fine, but don't see a diff between the original and new one? And what if you lower the quality significantly (ex 25%)?
Any difference then?
If I change it to 25% then I see a difference, so its working correctly!
yup, although i'm sure 90% will also make a diff, also in file size on disk
I want to implement the image compression. Which plugin is best for umbraco CMS
I think there no new plugins and you can use only "Kraken Image Optimizer plugin for Umbraco" - https://our.umbraco.org/projects/backoffice-extensions/official-kraken-image-optimizer-plugin-for-umbraco/
Install the ImageProcessor.Web.PostProcessor plugin from Nuget. It will compress any cropped images.
Thanks your comment. Is it free or paid ?
We have released a free alternative for Kraken. Tinifier is based on TinyPNG service which was mentioned by Alex.
You can get more and download it from the link https://our.umbraco.org/projects/backoffice-extensions/tinifier/
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted