As long as you only want one photo per person it is quite simple really, bpat have the solution for you. If you want more than one photo you can do the following (I haven't tested it, so there may be a little bug).
SELECT a1.people, a1.photo, a2.photo, a3.photo
FROM table as a1
LEFT JOIN table as a2 // one left join for each additional photo is needed
ON a1.people = a2.people
AND a1.photo != a2.photo
LEFT JOIN table as a3 // in all left joins you need to make sure that the photo have not been selected before
ON a1.people = a3.people
AND a1.photo != a3.photo
AND a2.photo != a3.photo
GROUP BY a1.people
LIMIT 0, 8
The result would look something like this:
Person Photo1 Photo2 Photo3
Kalle Kalle1 Kalle2 Kalle3
Olle Olle1 Olle2 NULL
The null will be there if there are not 3 unique photos from the person. If you only want persons that have 3 photos you do the following instead:
SELECT a1.people, a1.photo, a2.photo, a3.photo
FROM table as a1
LEFT JOIN table as a2 // one left join for each additional photo is needed
ON a1.people = a2.people
LEFT JOIN table as a3
ON a1.people = a3.people
WHERE a1.photo != a2.photo // Now you check all photos in the main select
AND a1.photo != a3.photo
AND a2.photo != a3.photo
GROUP BY a1.people
LIMIT 0, 8