Image Optimizer

  0 rating
2/11/2015 3:03:54 PM
3/10/2016 1:35:32 PM
Source: GitHub
Provider: Jihyun Kim


** Updated SPEAK UI for Sitecore 7.2+ **

Download Updated Version from GitHub

The compression processor is from Kamsar's Dianoga ( which is automatic image optimizer only for PNG/JPG images. Even Dianoga is independent project, it was combined with ImageMaxSize validator. 

You can easily set restricted file extension and file size through "ImageOptimizer.config" file.

How to Install

  1. Unzip the attached file.
  2. Place "ImageCompressionTool" folder in "/WebSite/"
  3. Place "ImageOptimizer.dll" in "/WebSite/bin/"
  4. Place "ImageOptimizer.config" in "/WebSite/App_Config/Include/"
  5. That's it.

How It Works

  1. Upload Image File in Media Library
  2. Check the file which is in restrictedExtension list
  3. If the extension is in the list, check file size
  4. If the file size is over than sizeValue, block the upload process

    If the file size is less than sizeValue, compress only for PNG/JPG file

Example, I have set 500KB upload limit in "ImageOptimizer.config" file.

If you have to use HQ image which size is over 500KB, try to use "Advanced Upload" mode and check "Upload as Files"

Thank you, JammyKam and Kamsar


Release notes
Version 1.0 released to the marketplace
Read more Back
Code examples

Solution screenshots(0)


Reviews (0)

Sort by: Date Most votes
  • Profile Avatar

    Level: 0

    x0 x0 x0




    Was this helpful?


Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment

Write a review

Title can't be empty
Review can't be empty
Post review


Title Description Download Action

Add File