Put the student ID first, then the last name and first name: 102345_Martinez_Ava.jpg. The ID links the photo to the school's student list, and the name lets a person check the file at a glance. If the school or its yearbook publisher gives you a file spec, follow that instead.
Why put the student ID in the file name?
Because the ID is the only thing that is unique for every student. Names are not: one school can have two students named Emma Nguyen, and one student can be Katie on one list and Katherine on another.
School office software and yearbook software usually match photos to students by ID. If the ID in the file name is exact, the correct spelling, grade and homeroom can come from the school's list.
Student IDs are personal data. Ask the school how it wants files stored and sent, and follow its rules.
What file name format should you use?
Use the format the school or publisher asks for. If there is none, use ID, last name, first name, with underscores between them. Whatever you pick, keep it the same for every file in the school.
- Copy the ID exactly, with leading zeros: 004512, not 4512.
- Use underscores, not spaces, and no characters like / : * ? in the name.
- Deliver one final file per student. A retake replaces the first photo under the same name.
- Keep one folder per class or homeroom, named the way the school names it.
- Do not put grade or teacher in the file name unless the spec says so. They change, and they are already in the student list.
| File name | Problem |
|---|---|
| 102345_Martinez_Ava.jpg | None |
| Ava Martinez.jpg | No ID, and a space |
| 4512_Lee_Sam.jpg | Leading zeros lost |
| IMG_4821.jpg | Camera name: fine only with a list that maps it to a student |
What should you ask the school for before picture day?
Ask for the student list as a spreadsheet or CSV file with one row per student: ID, first name, last name, grade and homeroom or teacher. Ask for the staff list too, if staff are photographed.
Check three things when the file arrives:
- Open it and look at the ID column. Spreadsheet programs can drop leading zeros if the column is treated as a number. Format it as text.
- Sort by class and count the students. The counts tell you how long each class takes.
- Ask who to contact about students who joined after the export.
The roster template guide shows a simple CSV with these columns.
How do you get the right ID onto each photo?
Record the ID at the camera, so you never match faces to names from memory. There are three common ways, from simple to automatic.
- A printed class list. Photograph students in list order and write the camera's file number next to each row. Note absent students so the order does not slip.
- Name cards. Print a card for each student with name, ID and class. The student holds it up or hands it over, and you photograph the card right before the portrait.
- Scanning. Some capture programs read a barcode or QR code from the card or from the student's ID badge and name the files while you shoot. Test this on a full class before the real day.
Photograph a sign with the class name before each class. If something slips, the mistake stays inside one class.
How do you rename hundreds of files without typing?
Rename from a list, not by hand. Build a spreadsheet with two columns, the camera's file name and the new name, and let a batch rename tool apply it.
- Export your final picks in shooting order. Lightroom can add a sequence number during export.
- In the spreadsheet, put the file names next to the class list in the same order.
- Build the new name in a third column from ID, last name and first name.
- Run the batch rename on a copy of the folder, never on your only set of files.
- Check the result: the number of files equals the number of students photographed, no ID appears twice, and the first and last student of each class are right.
The guide to naming photo files has more on batch renaming and on ways to skip it.
How do the named files become class composites and ID cards?
The file name, or a roster CSV, gives each photo its name. Then the product can be built without typing. Two details matter if you use RosterFrame for class composites or ID cards.
First, it ignores numbers with four or more digits in a file name, so the ID does not print as a jersey number. But it reads names first name first. 102345_Martinez_Ava.jpg would print as "Martinez Ava". A comma fixes that: 102345_Martinez, Ava.jpg prints as Ava Martinez.
Second, you can leave the file names alone and add a roster CSV with a File column. RosterFrame then takes first name, last name, grade, teacher and ID from that row. The ID cards print these details, and their optional QR code holds the ID number.
Before you print, send each teacher a name check sheet with every photo next to its name.
How this article was made: written and edited for RosterFrame. Facts about RosterFrame in this article were checked against the app. First published .