Get last 1000 photos from a folder tree