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

Download my images #11321

Open
CharlesNepote opened this issue Feb 3, 2025 · 0 comments
Open

Download my images #11321

CharlesNepote opened this issue Feb 3, 2025 · 0 comments
Labels

Comments

@CharlesNepote
Copy link
Member

This is a question which have been asked sometimes.
In the case we had a few days ago, the person wanted to have an easy way to download her/his own photos for later reuse.

There are probably some use cases from people who both want to contribute and reuse their own photos. Some people might even find Open Food Facts as a repository, not more.

Implementation

Principles:

  • probably few people need this, so it shouldn't be perfect but usable
  • it mustn't overload our servers; if some users are asking this, it's probably not for few photos

Resources:

It seems reasonably possible to build a script and perhaps a simple interface to allow a contributor to download their photos:

  • without using our "production" websites
  • using Amazon S3 infrastructure

Simple script

A simple script can be a good start, maybe in a multiplatform language (Python?). It could:

  • extract from our parquet the codes and imageids of the photos related to a specific user
  • iterate from this list to download the images localy
  • find a way to identify all the pictures: include codes into image's metadata?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To discuss and validate
Development

No branches or pull requests

1 participant