Photo Import Export

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Importing and Exporting Photos in EasyLobby

Introduction

The EasyLobby system comes with two utility applications that allow you to import photos into the system or to
export photos from the system. The EmployeeImport utility is a Windows application that can import employee
photos into the EasyLobby database directly from an external ODBC database or from JPEG files in the filesystem.
The PhotoExport utility is a Windows application that allows you to batch export employee, visitor or watch list
photos from the EasyLobby database to individual JPEG files in the filesystem.

Importing Employee Photos with the EmployeeImport Utility

Whenever you install the EasyLobby SVM or EasyLobby Administrator applications, the EmployeeImport utility
is automatically installed in the utilities folder, typically C:\Program Files\EasyLobby\EasyLobby SVM
10.0\Utilities. Use your Windows File Explorer to navigate this folder, and run the program icon called
EmployeeImport.exe. There is also a separate installer on your EasyLobby product CD in the Installs folder called
EmployeeImport100Setup.exe for installing this utility on an app server.

This utility allows you to import employee records directly from an ODBC database, Active Directory or comma-
separated value file (.csv). When importing from an ODBC database, if your table or view has an image column
(JPEG blob data), you can select this column and map it to an employee photo field in EasyLobby. The graphics
below depict setting up for ODBC database import and mapping a photo column to the EPIC field in EasyLobby.

If you would like to import photos from image files in your filesystem instead, you can use the Delimited Text File
option and import your employee data from a comma-separated value file (.csv). To import photos, include one of
the fields in the import file as the filename of the JPEG photo file in your filesystem. If the file is in the same folder
as the .csv file, the path may be relative (just the filename). If the photos are in another directory, you must specify
the full path to the file. The example below shows a brief sample of an import file with photo file references.

CostCenter,PeopleID,Firstname,Lastname,Title,EmailName,Phone,Photo
816,1000,Brian,Jones,,,2358,jones.jpg
861,1001,Gregory,Smith,,,2212,
832,1003,Adrianne,Nardi,,,2374,nardi.jpg
924,1004,Sally,Aston,,,3768,

For a full reference of the EmployeeImport utility, please refer to the EasyLobby manual. For version 9.0 it is on
page 85 of the manual EasyLobby_Manuals_90.pdf. For version 10.0, it is on page 145 of the manual EasyLobby
SVM v10 Manual.pdf.
Importing and Exporting Photos with EasyLobby EasyLobby, an HID Global business

Loading Visitor and Watch List Photos from JPEG Files

When using EasyLobby SVM, you can load and save photos directly from and to the filesystem. You can also use
the Windows Clipboard to copy and paste photos between EasyLobby and other applications. Whenever you are
viewing a photo field in any EasyLobby Visitor, Watch List or Employee record, you can right-click the photo field
to get a popup context menu of operations.

With the Load command you select a JPEG or BITMAP file from the filesystem and load it into the photo field.
With the Save command you can save the current photo to a file. Cut, Copy and Paste move the photo to and from
the Windows Clipboard. Zoom Photo shows a full screen image of the photo, and Crop gives you a cropping tool
to crop the photo. Clicking the camera icon allows you to take a new photo if you have a camera attached to the
system. Screen shots of the cropping tool and the Take Photo dialog are shown below.

August 6, 2014 Page 2


Importing and Exporting Photos with EasyLobby EasyLobby, an HID Global business

Exporting Visitor, Employee and Watch List Photos with the PhotoExport Utility

Whenever you install the EasyLobby SVM or EasyLobby Administrator applications, a copy of the PhotoExport
utility is automatically installed in the program folder, typically C:\Program Files\EasyLobby\EasyLobby SVM
10.0. Use your Windows File Explorer to navigate this folder, and run the program icon called PhotoExport.exe.

This utility has a graphical interface that is shown in the screen shot below. First you select the type of photos you
wish the export. For Employees, you can export photos for Active, Inactive or All employees. For Visitors you can
export photos for All visitors or those from a specific Date Range. For Watch List export all photos are exported.

For Visitor and Employee photos, the Photo Index field specifies which photo is exported (values between 1 – 6).
The Export Folder field must specify a valid folder on your system, and the utility will export all the photo files to
this folder.

Each photo is exported to a separate JPEG file whose name is specified in the Filename Style field. This allows you
control over how the filenames are generated, and you can include a number of variables in the filename
specification that are substituted with specific information, as given in the following list.

%FIRST% – First Name


%LAST% – Last name
%EMPNUM% – Employee Number
%CUSTOMID% – Visitor Custom Id
%COMPANY% – Company
%CATEGORY% – category
%DATE% – Today's date as MMDDYYYY

Example: %FIRST%_%LAST%.jpg will produce John_Smith.jpg. Note that the %EMPNUM% variable is only
supported for employee photos. For Watch List photos, %CUSTOMID% and %COMPANY% are not supported.

When you have set your choices, click the Start button to run the export. The Status area will show information
about the export. Click the Help button to get help and a list of the filename variables. Click Exit to quit the utility.

Technical Support

For more information or support on setting up your SQL Server database for EasyLobby, please contact EasyLobby
at support@easylobby.com or at 866-607-7339 option 8.

August 6, 2014 Page 3

You might also like