Moving from icloud to Plex Server - Will Plex app recognize export

I have approximately 44,000 photos in iCloud. My plan is to export them from my Mac into the Plex server.

My questions, If I start having Plex accept new photo’s from my phone, will Plex know what photo’s have already exported or will it start making duplicates?