Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use file checksum to detect when a duplicate image is uploaded #534

Open
odin-h opened this issue Apr 15, 2024 · 0 comments
Open

Use file checksum to detect when a duplicate image is uploaded #534

odin-h opened this issue Apr 15, 2024 · 0 comments

Comments

@odin-h
Copy link
Collaborator

odin-h commented Apr 15, 2024

Problem

When uploading an image that has already been uploaded before, the image is added as a duplicate and given a new proof ID.

Proposed solution

Use the file checksum to check if the same file already exists and assign the existing proof ID of that file to the price upload form instead of reuploading the file.

Additional context

Additionally, a message could be displayed informing the user about what happened. To do this, checksums of the original files would probably have to be stored since they won't be the same as the final compressed files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant