Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lee 1123 posts 3059 karma points
    Oct 04, 2009 @ 19:24
    Lee
    0

    Examples Of Looping Through Media Folder

    I'm having a macro/API/play afternoon with Umbraco, can someone point me to some examples of using the API to loop through media items and displaying on a page?

  • Rich Green 2246 posts 4006 karma points
    Oct 04, 2009 @ 20:28
  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Oct 04, 2009 @ 21:34
    Dirk De Grave
    1

    Don't forget about the performance hit when using GetMedia(), it hits the db for every GetMedia() call, so be aware of this when having to loop through lots of media items

     

    Cheers,

    /Dirk

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies