YOUR ARE VIEWING ARTICLE

Using Concatenated Photo Names

Using Concatenated Photo Names

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

Using Concatenated Photo Names 1

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.

using Concatenated Photo Names 2

You can now select the variables and link them to the desired database columns:

Using Concatenated Photo names 3

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:

Using Concatenated Photo Names 4

You can modify the variable names and any joining characters to match the specific requirements.

TOPICS

CATEGORY

AUTHOR
Support Team

PUBLISHED
November 22, 2016

MODIFIED
April 27, 2022

US business only within scope

ISO/IEC 27001:2013 

United States

2010 Elkins Way, Suite 1122
Brentwood, CA 94513

Monday – Friday
9am – 5pm (EST)
+1 (925) 529 4999

Netherlands

Smallepad 32
3811 MG Amersfoort

Monday – Friday
9am – 5pm (CET)
+31 (0)20 2251 447

© 2023 CardExchange Solutions, Inc.