First, the album title is not an appropriate parameter for the `getRandomImagesAlbum()` function. Please read the functions guide for parameter documentation.
Baring that, your code will print one random image from each album. If you want that but want to stop at 4, you will need a counter and break in the loop. If you want 4 arbitrary random images you can use `printRandomImages()` function.
Remember, however, the definition of `random` is that it may select any image, includign one that has been selected before. If you want to insure you have unique images you will have to add that test to your loop.