Skip to content

Image Optimizer can't detect duplicate images #77

@austinwendt-wp

Description

@austinwendt-wp

What’s not working: if you upload the same image twice, image optimizer will only detect it once.

  • Reason: Images are considered unique based on hash of the image file content so if you upload same file twice b/c there is a duplicate hash

What should be happening: if you upload the same image twice, you should be able to optimize both of them.

  • Possible fixes: Look at last modified time, time created or file path

Steps to recreate:

  • Upload an image (cool-image.jpg) to the WordPress media library.
  • Scan for images with image optimizer
  • Optimize all found images
  • Upload the same image (cool-image.jpg) to the WordPress media library again.
  • Scan for images. The overview tab will report that there are 10 new images found to optimize.
  • Click "view images" and you won't see any images available for optimization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions