updated photos-bou and added pagination