You can get a array of subalbum names for any album by using the function $names = $album->getImages(0, 0,'ID'); From this you can select four and create album objects of them. $img1= new Image($album, $names[$n]); Then you can do what you want with the album. The last four would be the latest.