Forums / Setup & design / Trouble with fetching images in Media tab with eZP 4.2.0
Pascal France
Friday 02 October 2009 10:46:23 am
Hi,
I would like to fetch and display images wich are under Media(ID43)->Images(ID51)->MyFolder(ID79)
With eZP 3.10.1 I do:
{def $nodes=fetch( 'content', 'list', hash( 'parent_node_id', 43, 'depth', 2 ) )} {foreach $nodes as $node} {$node.name|wash} <br /> {$node|attribute(show)} {/foreach}
And all works fine.
Now, the same code, using the default Image class, does not work any more in eZP 4.2.0.I get any output.
Pascal
Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish
Friday 02 October 2009 10:48:41 am
It's just a policies problem of the anonymous users !