Enhancements to the built-in Textpattern image tags (0.3)
<txp:zem_article_image /> is similar to txp:article_image, except it supports multiple images per article. The article image field must contain one or more numeric image IDs separated by commas.
<txp:zem_article_thumb /> displays the image thumbnail(s); it is otherwise identical to zem_article_image.
Both tags support the standard “break” and “wraptag” attributes.
Examples:
<txp:zem_article_image />
Display only the first article image – same as txp:article_image
<txp:zem_article_image limit=5 />
Display a list of article images, up to a limit of 5
<txp:zem_article_thumb />
Display the first article thumbnail
<txp:zem_article_thumb limit=5 wraptag="ul" break="li" />
Display up to 5 article thumbnails as an unordered list
28 November 2004, 09:30 by Alex ·
Commenting is closed for this article.
i did not try this nice plugin yet. Though i will soon. I just wondered, if the images alt attribute is passed as well. This would come very handy.
— Alex Dec 17, 08:25 pm #
Are you going to add this feature?
Otherwise, this a great plugin. It was just what I needed.
— Brian Feb 24, 03:13 pm #
You are the master!
Any way this plugin could create a link to the full size image (in a new resized window) ? For example, exactly how the < txp:thumbnail / > tag does?
— Terry Apr 9, 08:17 am #