3.2 -> Data map and images, problem with the full path returned...

Author Message

laurent le cadet

Wednesday 12 November 2003 7:44:02 am

Hi,

I'm trying to print a node with a specific view, so I have to use the data map for the attributes I want.

The template :

{let derniere=fetch( content, tree, hash(
parent_node_id, 104,
limit, 1,
sort_by, array( array( published ) ),
class_filter_type, include,
class_filter_array, array( 8 ) ) ) }
{section name=Un loop=$derniere}
{$Un:item.data_map.titre.content}
<img src="{$Un:item.data_map.photo.content[small].full_path}">
{/section}
{/let}

For the title (attribute="titre") it's ok but with the image (attribute="photo") I have the very full path :

http://www.editions-telegramme.com/index.php/content/view/full/53/var/storage/variations/image/p/h/p/phpgh1bHR_100x100_428.jpg

It works when I'm in the index page but not in other section.

I tried also with "|ezimage" but no way.

How can I manage to remove this part "content/view/full/53/" for all the site ?

Laurent.

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