Pagination info in the images resource

This PR adds the pagination information to the images resource as mentioned in #234.