separated photos into different pages