The following shows how you can setup photos to be stored to a file with concatenated names like 000106_Jackson.jpg, by using a script to construct the file name.
To use concatenated names for photos you need to have a CardExchange® Producer Business or Enterprise edition.
First add a new image to the design, choose the Image Type of Photo, set the Column to be
Script and add the following into the script box: id + '_' + lastname
When exiting the script box you will prompted with a dialog showing the variables id and lastname that have just been created, here you can set a default value or just click OK.
You can now select the variables and link them to the desired database columns:
You can also set the folder location for the photos and the file extension under the Point-to-file
options section. Once done the complete properties section should look something like the below:
You can modify the variable names and any joining characters to match the specific requirements.