changed pagination to 50 images/page