My use case was this: a client with many sites is using RSS feeds to populate site content. Usually this is a no brainer. We can put together a recipe of Feeds and Imagecache but this is a little different. Instead of the main image being a separate entity in the RSS feed, it's coded right in to the body.
So, the first thing we do is create the feed.
With the feed in place, the picture is wherever it came in.
Using a preprocess function, we can intercept the node's content and pull out the image's URL. This will come in handy in the template file. Here's some code to pull the image URL and then generate the path by using the Imagecache External module:
<?php

So - this morning started off with a dry mouth - as does any morning waking up in a Hotel after a slightly elongated trip from Halifax to Washington DC. My mind was sharp, but body was reeling from the delays in our trip to DC last night.
This site is dedicated to sharing a little about what makes me tick. Part of getting to know what goes on around here is knowing what else is going on in parts of my world.
This morning, I woke up at 6am as it had been storming all night.
ex·pe·ri·ence