You are not logged in.
This simple plugin adds the article image (if one is specified) to an RSS or Atom feed.
You can also change the code slightly to use the thumbnail instead of the full size image, or if you want the image before or after the body text.
csb_feed_image supports multiple images with upm_image.
Requires Textpattern 4.0.4 or later.
Last edited by csandberg (2009-03-10 21:11:39)
Offline
Thanks for this great plugin! It’s indispensable for any photography related site.
On some of my articles I use multiple article-images which works great with plugins like <txp:upm_article_image />, however breaks this plugin. I’m aware this isn’t standard TXP functionality, but it would be great if there was a way to get multiple article-images to work with this plugin. Or maybe just show the first image even?
I’m thinking this isn’t as easy as it sounds.
Offline
Allright, the new version checks if you have upm_image installed, and then uses upm_article_image instead of article_image to support more than one image per article.
Offline
Too clever! Many thanks for this, I would never have figured it out.
I’ve just played with it a little and worked out how to use tags from upm_article_image, such as limit and type – I’m very impressed :)
Offline
Hej Christian,
For some reason, even after changing the line to
define(USE_THUMBNAIL, true);
I still get full sized images. I use atom and upm_image, if that helps with anything.
great plugin!
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
I found when using upm_image I had to change ‘thumbnail’ => USE_THUMBNAIL to ‘type’ => ‘thumbnail’ (the full image would be ‘type’ => ‘image’)
Last edited by hidalgo (2008-02-25 01:01:36)
Offline