Extracting a list of all inline images in an article

Extracting a list of all inline images in an article

Tuesday 17 February 2009 12:50:30 pm - 1 reply

Author Message

Gary Teh

Tuesday 17 February 2009 10:32:26 pm

You can easily do this in the template language the syntax should be something like the below

//you define $node_id of the article yourself 

{def $node=fetch( 'content', 'node', hash( 'node_id', $node_id ) )}

									{attribute_view_gui href=$node.url_alias|ezurl image_class=small attribute=$node.data_map.image}

http://name1price.com : Get a Cool website for yourself and also learn how to manage it. It is easy. Use it to get more customers for your business.

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.