Fixed id order by putting a limit of 100000 pictures.