This project is read-only.

Sprite and Image Optimization Preview 4

Rating:        Based on 12 ratings
Reviewed:  7 reviews
Downloads: 54859
Released: May 10, 2011
Updated: Dec 6, 2013 by danroth27
Dev status: Beta Help Icon

Recommended Download

Application ASP.NET Sprite Binaries
application, 19K, uploaded May 6, 2011 - 27822 downloads

Other Available Downloads

Source Code Sprite and Image Optimization Framework
source code, 1032K, uploaded May 6, 2011 - 11332 downloads
Documentation Documentation
documentation, 1274K, uploaded May 6, 2011 - 15705 downloads

Release Notes

The ASP.NET Sprite and Image Optimization framework is designed to decrease the amount of time required to request and display a page from a web server by performing a variety of optimizations on the page’s images. This is the fourth preview of the feature and works with ASP.NET Web Forms 4, ASP.NET MVC 3, and ASP.NET Web Pages (Razor) projects.

The binaries are also available via NuGet:
It includes the following components:
  • API for automatically generating sprites and inline images
  • Controls and helpers which provide a convenient way of calling into the API

New features added and fixes in fourth release:
Features under consideration for future releases:
  • Automatically selecting the most efficient sprite background color
  • Automatically minifying the rendered CSS

Reviews for this release

When you add a htmlAttribute 'Class="blah"' the sprite helper overrides the class for the image in the sprite with the class that was passed in. example: @Sprite.Image("Blah/blah.png") renders <img class="Blah/blah.png" src="the image data"> this displays the inline image correctly. @Sprite.Image("Blah/blah.png", new { Class = "float-left"}) renders <img class="float-left" src="the image data"> no image displays.
by smoothjadesa on Aug 2, 2015 at 10:51 PM
by Tomasz1974 on Feb 25, 2015 at 6:03 AM
I've tested it with and mvc3, it works very well.
by ymartel on Dec 30, 2011 at 3:10 PM
Though there are still a few issues, this is an awesome tool.
by xgene on Jul 30, 2011 at 8:28 PM
learn to use
by lichuanjun on May 18, 2011 at 3:57 AM
We are signing all our projects, but the imageOptimizationFramework is unsigned. this is a problem for us. At this point we cannot even use the NuGet package. When i download the code and sign it myself, i now get problems with internals. Please sign the assembly's else the DLL's will be unusable to us in the future.
by silentsouls on May 17, 2011 at 8:32 AM
The generated png sprite gets added gAMA chunk. This cause IE6/7/8 to incorrectly render the png and not match up with the rest of the site. Good explanation and fix can be found here: Second issue is that the regeneration does not happen when source sprites get changed via Windows file explorer, but alter or delete from VS causes regen.
by lucasm on May 10, 2011 at 11:57 PM