Forums / Setup & design / Trouble with fetching images in Media tab with eZP 4.2.0

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Trouble with fetching images in Media tab with eZP 4.2.0

Author Message

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

Pascal France

Friday 02 October 2009 10:48:41 am

It's just a policies problem of the anonymous users !

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