Tuesday 07 September 2004 4:16:57 am
I'd like to display the path of the image of ana article. I want to create a list of articles on my homepage using onoly the article's title and the image. I want to put the path in a IMG tag. I'm on epubl 3.4 but the {$Child:item.object.data_map.image.content.medium.url} as suggested here http://ez.no/ez_publish/download/changelogs/ez_publish_3_3/new_image_system returns nothing.
I use the code below. (I'm not a programmer, I just copy-and-modify examples from the ez.no web)
{let children=fetch( content, list, hash( parent_node_id, $node.node_id,
sort_by, $node.sort_array,
limit, 7,
class_filter_type, include,
class_filter_array, array( 'article' ) ) )}
{section name=Child loop=$children}
<a href={$Child:item.url_alias|ezurl}>
<img src="{$Child:item.object.data_map.image.content.medium.url}">
</a>
<br>
{$Child:item.object.data_map.title.content|wash}
{/section}
{/let}
Anybody a clue what is going wrong?
|