Is there anything like this for Ruby / Rails? I know there’s always
SiFR but that method is often frustrating because I’ve noticed
significant slow down in page load time even on pages that use it
sparingly.
Right, althogh ideally, once you put the framework in place, it would
minimize (or even eliminate) the “a lot of extra work” part, at least on
your part (obviously the server still has to slave away serving the
images).
I’ve just implemented the exact thing you are after on our new blog, Vivabit | The Web's Cutting Edge using RMagick. I’d like to release
the code soon but I’ve not got it up to library standard yet
(configuration is not as easy as it would need to be for general use).
Its a little more complex than the PHP ones posted because we wanted
the replaced text to wrap in liquid layouts and we didn’t use the
native text rendering because it was a bit nasty and my design
collegue is really picky (see this post: Vivabit | The Web's Cutting Edge
)
If you can wait untill after xmas I’ll release it as a plugin…when
it’s out I’d love some feedback.