---
title: "Setting up duplicate handling"
canonical_url: https://support.digitalphotogallery.com/articles/article/9658d832-0811-11e6-8390-16474ff850f4
short_url: https://dpg.support/astz
category: "Guides > Teams > Using DPG for collaborative galleries > DPG Preparation"
locale: en
updated_at: 2017-11-21T21:21:49Z
source: Digital Photo Gallery Support
---

# Setting up duplicate handling

Duplicate detection allows you to choose how duplicate files are handled by DPG. Duplicates happen if a photographer mistakenly uploads the same file more than once, or if they make changes to a file and instead of [replacing](https://support.digitalphotogallery.com/articles/article/f8d59a78-5521-11e7-8ea6-76c92ec7a447) it, add it to the upload queue again. 

We recommend that you enable duplicate image detection with the settings below. This will prevent accidental duplicates in your gallery, while making sure that only the most recently uploaded version of the file is kept in the account.

### Turning on Duplicate Handling
[▶ Video](https://cache.dpg.media/hyqelgcvfopo/videos/1f6fd7e6-a48e-11e7-a434-3a377cb6afa6/2e123690-a48e-11e7-a434-3a377cb6afa6.mp4)

Go to the **[Settings](https://admin.digitalphotogallery.com/account/settings#images_duplicates)** screen and select the **Images** then **Duplicates** tab.

![](https://cache.media.digitalphotogallery.com/hyqelgcvfopo/images/6c64a83c-a48f-11e7-9773-b68a4d6fbdb2/966_support.jpg?generated=20170928215604)

Suggested settings for accounts running events.

### Settings explained

* **Action: none**

Duplicate detection is turned off and images will upload as normal.

* **Action: Remove previous**

This removes the previous matches to an image, replacing it with the latest upload.
> 💡 **Tip:** For events, **Remove previous** is the best option as you'll likely want the newest version of a file.

* **Action: Retain previous**

This will ignore new uploads which match an existing file.

* **Checksum**

DPG looks at the file being uploaded and calculates a checksum, if the checksum matches another then the file is a 100% match - the same file size, resolution, a perfect copy. This option can help stop users accidentally uploading the same image twice.

* **EXIF**

DPG looks at the time the image was taken and which camera was used. It doesn’t look at things like file size, so it’s useful if a user does a re-edit of an image or when replacing low-resolution images with the full res. This is best used with the **Remove previous** action so that you’ll only ever have the most up-to-date edit in the system.
