• Resolved Kay Belardinelli

    (@kangabell)


    I am importing a single image for each post using the following settings:
    – Download images hosted elsewhere
    – Search through the Media Library for existing images before importing new images
    – Match image by filename
    – Set the first image to the Featured Image (_thumbnail_id)

    It seems that some images just import once with no issue, while others will repeatedly create duplicates on every import. I’m noticing that the duplicated ones all have “-scaled” appended to the file name, so my suspicion is that the import is not recognizing previously resized images as duplicates.

    For example:
    IMG_20200119_084238_648-90-scaled.jpg
    IMG_20200119_084238_648-91-scaled.jpg
    IMG_20200119_084238_648-92-scaled.jpg
    IMG_20200119_084238_648-93-scaled.jpg
    IMG_20200119_084238_648-94-scaled.jpg
    IMG_20200119_084238_648-95-scaled.jpg

    My import runs once every hour via a cron job, so you can imagine the enormous amount of duplicates I’m getting!

    How can I stop this from happening?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Duplicate Images’ is closed to new replies.