5
Shouts

Resize image on the fly with ASP.NET MVC with WebImage

published 414 days, 16 hours, 52 minutes ago posted by lenielleniel 418 days, 19 hours, 15 minutes ago
Tuesday, May 01, 2012 1:52:33 PM GMT Friday, April 27, 2012 11:29:49 AM GMT

I built a piece of code sometime ago to display image thumbnails in a listing page. I thought it's about time to optimize it. I refactored it and started using the WebImage class that comes in System.Web.Helpers namespace. With this class in place you can resize, crop, rotate, etc any image. There's no need to save the thumbnail in the disk, that is, a new image can be generated on the fly/dynamically and sent to the user’s browser.

category: Web Dev | clicked: 53 | | source: www.leniel.net | show counter code
tags:

No comments yet, be the first one to post comment.

To post your comment please login or signup