# Visual asset clean up!

**URL:** <https://community.hubspot.com/t/visual-asset-clean-up/89071>\
**Category:** Tips, Tricks & Best Practices\
**Created:** [September 6, 2023, 1:59pm UTC](https://community.hubspot.com/t/visual-asset-clean-up/89071 "2023-09-06T13:59:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Melly2022](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/melly2022/32/81147_2.png) [@Melly2022](https://community.hubspot.com/u/Melly2022)\
**Post date:** [September 6, 2023, 1:59pm UTC](https://community.hubspot.com/t/visual-asset-clean-up/89071/1 "2023-09-06T13:59:02Z")

</div>

Hi,

we are embarking on a project to move all of our visual assets to a DAM solution. Part of this project requires a massive clean up. HubSpot is lacking in management of the Files section and it looks like this might be an entirely manual process.

Exporting the images and using a third party tool to help seems to be my best option, unless anyone has had any experiencing with cleaning up the visual assets in files without breaking the existing images usage. Removing duplicates and maintining the highest resolution image is our goal.  
Also, if anyone has any suggestions on good external tools to use to help with this please let me know!

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [September 7, 2023, 10:26am UTC](https://community.hubspot.com/t/visual-asset-clean-up/89071/2 "2023-09-07T10:26:29Z")

</div>

Hey @Melly2022,

This is a great topic and I found a couple of posts in the Community where other users are trying to tackle a similar challenge:

- @JClarke15, @HollowayR & @ArisudanTiwari are discussing how tags would improve the Files experience[in this post](https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Organize-documents-and-PDF-s-according-to-Tags-in-Hubspot/m-p/809995)
- @ZChurney3, [@Jigar\_Thakker](https://community.hubspot.com/t5/user/viewprofilepage/user-id/610147) & @coldrickjack shared insights on automated file management [here](https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Automated-File-Management/m-p/836040)

I also wanted to share[this feature request](https://community.hubspot.com/t5/HubSpot-Ideas/File-Manager-File-Sets-Taxonomies/idi-p/624094) that @mike-thomas submitted about the option to create _File Sets / Taxonomies_ in the file manager. It’d be great if you could support the idea with an upvote. Thank you!

The Community members who I’ve tagged above – if you have any additional experience or advice that you could share with @Melly2022, that’d be great! 🙏 Thank you!

Cheers  
Mia, Community Team

---

<div class="post-metadata">

**Author:** ![Melly2022](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/melly2022/32/81147_2.png) [@Melly2022](https://community.hubspot.com/u/Melly2022)\
**Post date:** [September 7, 2023, 1:16pm UTC](https://community.hubspot.com/t/visual-asset-clean-up/89071/3 "2023-09-07T13:16:36Z")

</div>

Thank you @MiaSrebrnjak ! I will check out the resources above for sure! 🙂

---

<div class="post-metadata">

**Author:** ![mike-thomas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike-thomas/32/30838_2.png) [@mike-thomas](https://community.hubspot.com/u/mike-thomas)\
**Post date:** [September 8, 2023, 1:26pm UTC](https://community.hubspot.com/t/visual-asset-clean-up/89071/4 "2023-09-08T13:26:05Z")

</div>

Thanks for highlighting the suggestion Mia.

I’ve had numerous challenges since making that suggestion where clients have desired document libraries and hope one day we’ll see that become a possibility.

With regards to a clean up, I have previously used the API to work with “known” information to at least make a manual clean up easier.

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Ffiles-files-v3%2Fguide)**

So, loop through the files using the seach endpoint, and make lists of files that match certain critera. In my case this was images of a certain type and size. I would suppose that you can identify duplicates in this manner - comparing both file name, type and size.

Perhaps with a 3rd party AI tool, you might also be able to perform an automated visual match.

If using something like PHP to run this script, you could lean into something like image compare: [PHP: Imagick::compareImages - Manual](https://www.php.net/manual/en/imagick.compareimages.php)

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [September 8, 2023, 5:14pm UTC](https://community.hubspot.com/t/visual-asset-clean-up/89071/5 "2023-09-08T17:14:09Z")

</div>

Thank you for the additional inisghts @mike-thomas!
