return just the photo ids and urls