Implementation of paging on images.