Check Similar/Identical images present in DAM while uploading new Assets in DAM but not after Uploading .

Avatar

Avatar
Validate 1
Level 1
vijayt86226372
Level 1

Likes

0 likes

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Shape 1
Ignite 1
Give Back
View profile

Avatar
Validate 1
Level 1
vijayt86226372
Level 1

Likes

0 likes

Total Posts

17 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Shape 1
Ignite 1
Give Back
View profile
vijayt86226372
Level 1

21-09-2020

We want to check there is already image present in DAM which is similar / Identical to the new image which is being uploaded. We want this activity to happen while uploading of new Assets in DAM.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
vanegi
Employee

21-09-2020

You can check the following documentation https://docs.adobe.com/content/help/en/experience-manager-65/assets/managing/duplicate-detection.htm... for detecting duplicate assets.

 

This is done by checking SHA 1 checksum value. 

//If the asset you upload already exists in AEM Assets, the Duplicates Detected dialog warns you that you are attempting to upload a duplicate asset. The dialog appears only if the SHA 1 checksum value of the binary of the existing asset matches that of the asset you upload. In this case, the names of assets is immaterial. In other words, the dialog can even appear for assets that have different names if the SHA 1 values for their binaries are the same. With each asset uploaded you will see SHA 1 JCR node created.

So in you use-case you need to write a custom service to do the needful.

Where to find SHA1 number in Image Assets -> jcr:content ->metadata -> dam:sha1  (/content/dam/geometrixx-outdoors/banners/best-season.jpg/jcr:content/metadata)

 

Answers (0)