paginating photographs
using pagination links