It can be done a number of different ways, depending on your exact requirements. One way would be to add a method to the Album class called GetChildGalleryObjectsInRandomOrder(). Implement it similar to GetChildGalleryObjects() except make the order random. Then call it from the UI layer.
Roger Martin
Creator and Lead Developer of Gallery Server Pro