I'm testing this out for a site that has thousands of duplicate images based on a Commerce Feeds Import workflow. (The first product image was unique and the second image was a shared/common image that imported as a duplicate.)

All that to say, as I began testing I noticed a spelling error. Patch coming shortly.

Comments

laryn created an issue. See original summary.

laryn’s picture

Status: Active » Needs review
StatusFileSize
new769 bytes

Patch is attached.

krina.addweb’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new22.02 KB
new17.69 KB

@laryn, Thanks for the typo correction. It works well. PFA

fietserwin’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for reporting. Fixed and committed. BTW: I am interested if this module works fine on your scale as well, please let me know your findings.

laryn’s picture

@fietserwin,

I'm actually not having much luck yet in bulk. I have tried disabling md5, not showing any thumbnails, restricting the maximum quantity down to 10 to test, and disabling most of the image styles (We have a ton of image styles defined) -- which seems to work, but if I try to run in bulk it gets through to the "Find Usages" page and then hangs (or goes back to the first page). I saw the other issue about a drush command and something like that could be ideal, or a page to configure settings to use and have it run automatically for a certain quantity on every cron run (similar to the way that search indexing happens). That way it could slowly chew its way through all the duplicates without me having to slowly go through the whole process repeatedly.

We do have file_entity and media installed on the site, although I haven't been able to do enough testing yet to say for sure that things are working perfectly with them.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.