Having had Nitrosell a number of years, we have a large number of images in the PAM image directory that are now no longer referenced by active products. I have around 6,500 such images which I suspect are significantly slowing down our Sync as Sync seems to scan the entire directory rather than just grab images referenced by PAM.
Has anyone come up with a method to identify and delete such images?
Any recommendations from Nitrosell?
Many thanks we look forward to that. Can it simply move images that arenāt referenced by active products to an archive subdirectory, and also do the same in alternate image directories.
We can then manually do the actual deletion of the unreferenced files when we are sure the image wonāt be needed again.
To clarify Franclinās comment, it has not been added directly to the backlog ā that happens when weāre about to schedule a feature. It has been added as a suggestion to the roadmap.
Please bear in mind that, as Iām sure you can gather from the forum, the suggestion list is rather lengthy.
If it does get scheduled, weāll be sure to let you know in this topic.
Bump! We are definitely in the same boat here. I donāt want to lose the images, but some kind of archive for ādormantā image files would be greatāsomething that simply separates images for items that are not currently live on the site, but retains them so they are available if the item is put back on the site or so we can manually remove them entirely when no longer needed, as Emma noted.
Thank you!
I would be very interested to know if there have been any new developments with this. I can see this becoming a problem for us in the very near future.
We are currently testing a new PAM functionality called Archiver, which is designed to identify and move unused product image files to a separate sub-folder created in the item images directory. Hopefully the feature will be ready to operate within a few weeks. I will get back to you with any update.
Donāt know if I would be to worried about 25,000 images but the sync does start to struggle when you get over 100,000. I was able to give the image archive a try this week and it worked really well (although a little slow). It reduced me from about 250,000 images down to about 115,000 images in about 5 days.
Thanks for the feedback Robby, glad you found it useful.
We have spent a lot of time optimising image synchronisation. The thing is we are limited by the operating system ā Windows itself does not do a good job handling directories with that many files. In fact, most operating systems struggle in this scenario. By now, weāre probably close to the limit in how much faster we can make it.
To those who havenāt already, I would definitely recommend running the image removal tool in PAM.
Hi @Bartosz.Remesz,
Same than @emma , can you explain how this feature works? We have just to update NsSync and Pam and let the softwares works? Do we have some options to modify or something to unlock first?
The Archiver tool is available in PAM version 2.1.50 build 1690 and later. In order to make it visible PAM needs to be launched in debug mode as described in the article below:
The feature will then become available in PAM > Tools (āImage Archiverā¦ā).
Once you define your product image source directory in the Archiver window and click on āArchive Images!ā the tool will first create a sub-folder called āArchivedā in your item images directory and then will start identifying the files that are inactive and moving them to the folder.
Please be advised that when you run the process for the first time it may take days to archive the orphan images, depending on how many files there are in your pictures folder.