A noun adjective normally identifies the noun it describes.\ e.g. a student driver is a student and a driver. a student's driver is just a driver not a student. It's the driver of the student.
A student photograph would mean both a student and a photograph, which is ridiculous. Accordingly, a student's photo