Textpattern provides the <txp:article_image /> tag, which I use in the
templates for the majority of posts on my site. However, for some reason it
doesn’t provide an equivalent tag for the thumbnail version of an article
image. Since I use thumbnails in my RSS feed, this was problematic for me. This
plugin was my answer to the problem.
To install:
- Download the plugin file (see link below)
- Go to Textpattern’s admin tab
- Go to the plugins tab
- Paste the contents of the downloaded file into the text box and click upload.
- Once the plugin shows up in the list, you’ll have to click ‘no’ in the Active column to change it to ‘yes’; then the plugin will be active.
To use:
- Make sure your article has an article image assigned. The article image is listed under the advanced options.
- Put a
<txp:dml_article_thumb />tag where you want the thumbnail to appear.
The article image should be the image’s ID number only. Don’t add a file
extension or anything, just the ID, i.e. 52. To put the full size image into
the article, use <txp:article_image />.