How to display a tree view of all assets?
Yoursort, my answer was based on the assumption that the AssetsService could be used in templates. Ofcourse, only the variables can be used.

I don't have time to dive into this (now), but I think your best bet is to get all images, use `asset.folder' for each asset and 'rebuild' the hierarchical list of folder and their assets. Again, use cache ;)