45 votes


Effortless Responsive Images with LazySizes and Umbraco

Slimsy v3.0.0-beta1-beta3 requires Umbraco v8.1.0-v8.5.x

Slimsy v3.0.0-beta4+ requires Umbraco v8.6.0+

Slimsy v2.0.0+ requires Umbraco v7.6.0+

LazySizes.js used in conjunction with ImageProcessor.Web and the built-in Umbraco Image Cropper will make your responsive website's images both adaptive and "retina" quality (if supported by the client browser).

Slimsy includes lazysizes.min.js and picturefill.min.js and some helper methods.

Below is an example of how easy it is to use image srcset with a fallback image using v3 in Umbraco v8

<div class="employee-grid">
    @foreach (ContentModels.Person person in Model.Children)
        <div class="employee-grid__item">
            <div class="employee-grid__item__image">
                <img src="@Url.GetCropUrl(person.Photo, 323, 300, quality:30, furtherOptions:"&format=auto")"
                     data-srcset="@Url.GetSrcSetUrls(person.Photo, 323, 300)"
                     data-src="@Url.GetCropUrl(person.Photo, 323, 300)"
                     sizes="auto" class="lazyload" />

Please visit our GitHub for all the information you need to configure and integrate Slimsy into your website projects.


Archived files


Source code

 Download package
version 3.0.0

NuGet install instructions for Umbraco 7.1.0-8.18.4

Install-Package Our.Umbraco.Slimsy

Package owner

Jeavon Leopold

Jeavon Leopold

Jeavon has 13382 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:

You must login before you can report on package compatibility.

Untested or doesn't work on Umbraco Cloud
Version 11.0.x (untested)
Version 10.1.x (untested)
Version 10.0.x (untested)
Version 9.5.x (untested)
Version 9.4.x (untested)
Version 9.3.x (untested)
Version 9.2.x (untested)
Version 9.1.x (untested)
Version 9.0.x (untested)
Version 8.18.x (untested)

Package Information

  • Package owner: Jeavon Leopold
  • Contributors: Marc Stöcker , Will Phillips
  • Created: 22/05/2014
  • Current version 3.0.0
  • .NET version 4.5,4.7.2
  • License MIT
  • Downloads on Our: 11.7K
  • Downloads on NuGet: 101.8K
  • Total downloads : 113.6K