Home

Keebler/Blog

« “Lost” Emoticons
Drop Bocks »

ASP.NET Image Resize HttpHandler

I heart going home after a day of ASP programming at work to my beautiful PHP language, with it’s lovely GD Image library…*starts making out with his screen*

Where was I going with this…Oh yes, there are so many excellect PHP automatic thumbnail generators out there that I use all the time, it always bugged me that all the ASP.NET thumbnail programs are all commercial. Well, a friend of mine whipped up this great HttpHandler that even handles the caching. Very nicely done!…though I can’t run it at home in Linux :D

blog-j – ASP.NET Image Resize Handler

The Url rewrite pattern is as follows: http://your.server.com/[path/to/image.ext]/[width]/[height]/[new format]/Image.ashx (where Image.ashx is whatever you have set as the path in your Web.config entry. When the handler is called, it first checks to see if an image has already been resized at the requested dimensions/format for the requested image, and creates it if necessary.

Related Posts

  • VIDEO: New Image Uploading Features

This entry was posted on Thursday, October 27th, 2005 at 7:19 pm and is filed under Software, Web Development. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.

  • Blog Home

  • Tags

    90210 alessandra ambrosio animals asp.net audrina patridge battlestar galactica bikini bunny bush C# canada canada election ctv ctvglobemedia development Election Entertainment/Celebrity facebook Gordon Ramsay gorilla gossip girl hayden panettiere iphone last.fm liveblog liveblogging mesh08 muchmusic Music obama palin rachel bilson scribblelive shenae grimes subway telemarketers the hills the killers the office toronto ttc toronto tv us election video yeah yeah yeahs

    WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

  • Recent Posts

    • Got tickets for USA vs. Switze…
    • On my way to YYZ to fly to the…
    • RT @scribblelive: Financial Po…
    • In Olympic Skelton, Canadian M…
    • Hoping people keep putting pre…
  • Categories

    • Election
    • Entertainment/Celebrity
    • Fake News
    • Featured
    • Funny
    • Keebler/Show
    • Music
    • My Releases
    • On-the-Road
    • RedDot
    • Reviews
    • Science/Technology
    • ScribbleLive
    • Security
    • Software
    • Torrent Live Stats
    • Tweets
    • Uncategorized
    • Web Development
  • Blogroll

    • Kitten-Monkey’s Cell
    • :: kattekylling ::
    • Adam Finley
    • blog-j
    • fuzzz.gaulin.ca
    • Idiot Banter
    • mad.greyarea.com
    • ob.blog
    • PollyPrissyPants
    • RedDot CMS Users Google Group
    • ScribbleLive Official Blog
  • My Sites

    • Flickr2Facebook
    • RedDot CMS
    • ScribbleLive
    • Where are my f(acebook)ing friends?
    • WhyYouShould