Modify Photo pagination