How to get random Images from folder

I am thinking about to create an WebApp that make it possible to show image portfolios.
The user uploads images --> this is already possible. The URL is stored in an Mongo Collection.

Now I want Meteor to randomly load the URLs from the collection and display the images in a random order.

I hope you can help me because I don’t know how to get those randomly…

You could use the shuffle function from Underscore maybe.

var images = Images.find().fetch();
return _.shuffle(images);