Yes photos must be in JPG (JPEG) format and listed by ID#.
If photos are not listed by ID# you will need to map images to their corresponding ID# using an linking file. (ie; DataLink, XREFPICT, Index etc..) Please note that file names are not relevant.
File Example:
ID#,Photo#.JPG
or
ID#