Loop through media items in folder with Razor in umbraco 4.9.0
Hi,
I'm looking to loop through all media items in a media folder with Razor in Umbraco 4.9.0, but none of the examples I've tried seem to work (possibly because the razor implementation has changed).
Can anyone point me in the direction of something that works, preferably without depending on uComponents/uQuery?
Loop through media items in folder with Razor in umbraco 4.9.0
Hi,
I'm looking to loop through all media items in a media folder with Razor in Umbraco 4.9.0, but none of the examples I've tried seem to work (possibly because the razor implementation has changed).
Can anyone point me in the direction of something that works, preferably without depending on uComponents/uQuery?
Thanks y'all!
Got it! This one seems to work okay: http://our.umbraco.org/wiki/reference/code-snippets/razor-snippets/simple-media-browser/media-folder-content-list.
is working on a reply...