Join 3,436 readers in helping fund MetaFilter (Hide)


Wordpress plug in that uses images from aggregates posts as featured?
September 5, 2010 3:46 PM   Subscribe

WordpressFilter: Is there a way to use the first image found inside posts that I draw in via RSS so that they're used as the "featured image?"

I'm using FeedWordPress to aggregate some content, and trying to use Justin Padlock's "Get The Image" plugin, but nothing appears to be happening.

This may be because the images aren't hosted locally - but on the site where the images are originally being posted.

(and failing this, is there a way to have the "featured image" automatically chosen based on category).

Ideally, I'm hoping to find plugins that will handle this so I don't need to recode whenever I change themes... but, if that's what it takes I'll have at it!
posted by Unsomnambulist to Technology (4 answers total) 1 user marked this as a favorite
 
You could try this one, which appears to have been updated here.
posted by primer_dimer at 1:56 AM on September 6, 2010


You might also have luck using Yahoo Pipes or Yahoo Query Language.
posted by kalessin at 6:36 AM on September 6, 2010


get_the_image doesn't by itself add images as the featured image. It can seek the first image and display it but only if you call get_the_image(). Sounds like you need 2 steps - probably a call to get_the_image that then sets the featured image. But get_the_image can simply do it on the fly, but to use it you're going to have to add a hook in how rss gets built for your site. Any which way, this requires a little hackery.
posted by artlung at 9:06 AM on September 6, 2010


Oh, and get_the_image doesn't distinguish between local and remote images, any <img> will do. See how I use it on my own site here.
posted by artlung at 9:07 AM on September 6, 2010


« Older I just bought a jar of Jamaica...   |  Aside from your standard red l... Newer »
This thread is closed to new comments.