Media Section

Author Message

rhodri davies

Friday 31 October 2003 6:01:43 am

Hi,

This maybe a really dumb question but I don't care - How do I access images that are stored under the media section in the admin section from the templates?

Regards

Rhodri Davies

Mark Overduin

Friday 16 January 2004 7:02:44 am

Yes, I'd like to know this too........

The media section is used to store images, flash files and stuff like that, right? And it actually is a part of the content section.

Hans Melis

Friday 16 January 2004 7:52:00 am

I'd guess it works the same as a regular fetch, just with a different node id.

{let imageRoot=fetch('content', 'list', hash(parent_node_id, <node_id_of_media_node>))}

That should fetch all top-level stuff under the Media node. Note the "should", I've never tried it myself.

--
Hans

Hans
http://blog.hansmelis.be

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