Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Saturday 05 February 2005 7:21:21 am - 4 replies
Łukasz Serwatka
Saturday 05 February 2005 8:00:20 am
{$news3.item.data_map.temp_bilde.content[small].url|ezroot}
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Jack Rackham
Saturday 05 February 2005 9:10:54 am
It did not work. It only shows the url not the picture.
{$news3.item.data_map.temp_bilde.content[small].full_path} ----> var/magasinet/storage/images-versioned/1721/11-nor-NO/test1.jpg {$news3.item.data_map.temp_bilde.content[small].url|ezroot} -----> "var/magasinet/storage/images-versioned/1721/11-nor-NO/test1.jpg"
Eivind Marienborg
Saturday 05 February 2005 10:06:44 am
Well, since you only get the code, you have to place it in an <img src="">-tag.
Or you could use this:
{attribute_view_gui attribute=$news3.item.data_map.temp_bilde}
Saturday 05 February 2005 12:47:43 pm
Hi
{let articleList=fetch( content, tree, hash( parent_node_id, 2, limit, 9, sort_by, array( published, false() ), attribute_filter, array( array( 249, '=', '1' ) ), ) )} <div id="mediumnews"> {section var=news3 max=5 loop=$articleList} <div class="child4"> {*Display image*} <img src={$news3.item.data_map.temp_bilde.content[small].url|ezroot} width="{$news3.item.data_map.temp_bilde.content[small].width}" height="{$news3.item.data_map.temp_bilde.content[small].height}" /> <a href={$news3.item.url_alias|ezurl}>{$news3.item.name|wash}</a> </div> {/section} </div> {/let}
You must be logged in to post messages in this topic!