zem_article_image documentation

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


Hie Zem,

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    #

I have the same question as Alex. I think that txp:article_image will display the alt tag. It looks like zem_article_image is not displaying the tag, though.

Are you going to add this feature?

Otherwise, this a great plugin. It was just what I needed.

Brian    Feb 24, 03:13 pm    #

Zem,

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    #

Commenting is closed for this article.