avstudnitz/AvS_FastSimpleImport

category import: images that get imported multiple times

kkrieger85 opened this issue · 1 comments

From your code:

     * @todo Solve the problem with images that get imported multiple times.

Why not always use

$uploader->setAllowRenameFiles(false);

At least for category images customer could take care about different named images.

Other alternative:
Cleaning up unused images after import.

I guess that wouldn't do it in scenarios where image filename is tied to some naming logic not in control of the Magento developer. Like a legacy software using [category_id].jpg or something.

Maybe an md5 check?