Fix Magento Image Duplication Bug

Замовник: AI | Опубліковано: 11.02.2026

I run an older Magento 2.2.5 store and every time I manually duplicate a product the platform creates fresh copies of its images. Roughly 100,000 redundant files now bloat the disk, driving storage usage through the roof. What I need right away • Locate and safely delete every duplicate image from both the filesystem and the Magento database. • Patch the root cause so future product duplicates reference the original media instead of spawning new copies. • Finish the job within the next few days; I will supply a snapshot for instant rollback if anything goes wrong. Environment & access The work will be carried out on the live server (downtime must stay minimal). I’ll provide SSH, MySQL, and admin credentials as soon as we agree. Open to your method I’m not sure whether a tweak to the current process or a purpose-built extension is the smarter fix, so I welcome your advice. Whichever route you choose, please document what you changed so I can maintain it. Deliverables checklist 1. Cleansing script or set of commands that removes the 100k duplicates per picture. 2. Code adjustment, mini-module, or configuration change that prevents the issue from reappearing. 3. Quick notes covering steps taken and how to roll back if ever needed. When you submit your bid, include a brief outline of your proposed approach and how quickly you can start.