RosterFrame Open app

RosterFrame › Guides › Picture day questions

How to name files for school pictures with student IDs

By RosterFrame · Updated

Quick answerPut the student ID first, then the last and first name, such as 102345_Martinez_Ava.jpg, unless the school or yearbook publisher gives you another format. The ID is unique, so it links each photo to the school's student list even when two students share a name. Keep IDs exactly as the school writes them, including leading zeros.

No signup · No uploads · Free during beta

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.

File nameProblem
102345_Martinez_Ava.jpgNone
Ava Martinez.jpgNo ID, and a space
4512_Lee_Sam.jpgLeading zeros lost
IMG_4821.jpgCamera 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:

  1. 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.
  2. Sort by class and count the students. The counts tell you how long each class takes.
  3. 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.

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.

  1. Export your final picks in shooting order. Lightroom can add a sequence number during export.
  2. In the spreadsheet, put the file names next to the class list in the same order.
  3. Build the new name in a third column from ID, last name and first name.
  4. Run the batch rename on a copy of the folder, never on your only set of files.
  5. 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 .