Pagination break data

Hello again, im searching to implement pagination on my album images page, pagination seems work, i got all items on array with images and page numbers but when click the secon page or the next button the result dont go next but is empty, break the data and dont show the next images on the album.

to be more clear: TheController TheView


edited Jan '16

To be honest i dont use this build in paginator for simple reason - you have to select all data from database first, and then do paginate, why do that when you can do the same with offset and limit in query, find method ?