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 the same image id for images with the same URL #289

Open
Rikuoja opened this issue Aug 17, 2018 · 0 comments
Open

Use the same image id for images with the same URL #289

Rikuoja opened this issue Aug 17, 2018 · 0 comments

Comments

@Rikuoja
Copy link
Contributor

Rikuoja commented Aug 17, 2018

Currently, e.g. the Kulke importer creates separate image objects for each event even if the image URL is identical.

This results in spamming of identical images in the backend; also, as a side effect, the superevents will not have an image at all, as the importer does not recognize images with different ids to be identical even if the URL is the same.

Hence, consider making image URL field a unique field. Any duplicates (images with the same URL) should be combined into a single image object, with perhaps a n_events field telling the user how many events use this particular image.

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

No branches or pull requests

1 participant