Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: EricR
Great tutorial! You can even take it a step further and only pull when the user gets down to the comments area. It's relatively easy to get info about where the browser viewport is in proportion to other elements.
There's also Image Sorcery, which allows you to directly use the ImageMagick command line tools.