I'll put everything in the media folder under a folder item and remember it's id. Then use umbraco.library:GetMedia(folder_id,1)
The 1 makes it go deep and return all the nodes childen. In effect I'll have the entire xml of the media folder wich will be searchable with xpath and everything else.
Navigating Media folder
Hey guys,
I'd like to know if there is any way to navigate the media folder without having the id of any media node.
What I'm trying to do is create albums (media type that I defined) which have photos as children.
I'd like to display all albums on a page without knowing their ids beforehand. And then be able to display their children.
Is that even remotely possible?
Thanks,
Ciprian
I think I found a solution:
I'll put everything in the media folder under a folder item and remember it's id. Then use umbraco.library:GetMedia(folder_id,1)
The 1 makes it go deep and return all the nodes childen. In effect I'll have the entire xml of the media folder wich will be searchable with xpath and everything else.
Ciprian
is working on a reply...