reduce num photos