I want to minify images folder which is used in my css and also on the Home page (master page). Is it possible to minify images same as CSS and js in asp.net ?
Thanks Rajesh
I want to minify images folder which is used in my css and also on the Home page (master page). Is it possible to minify images same as CSS and js in asp.net ?
Thanks Rajesh
You can't really minify images, but you can bundle several images into a single sprite (search online for a tutorial, or see this question).
You can also compress images before uploading them to your site using PNGGauntlet or similar.
Check out the Sprite and Image Optimization package on codeplex.
What you want is to create an image sprite (merging all the images into one). And then letting that adjust your css. This will reduce the number of calls made to the server to retrieve images and should reduce the overall size of the image (depending on optimisation).
Looks like Scott Hanselman had a post about this package a little while ago.