Skip to content

Update photo import code to do all the things with tickets (in a queue if necessary) #40

Description

@straup
  • write upload to tmp
  • write db record (ticket id, photo id, secrets)
  • create redis "state" record (if present)
  • extract meta to JSON (pymdeco or pure PHP)
  • encrypt meta (optional)
  • strip meta (optional)
  • store meta
  • store original
  • resize / store versions: big (3K?) large (1024) medium (640) small (240)
  • extract colours (from medium)
  • extract metrics (from big)
  • resize / store square (300) from big
  • update redis "state" record along the way (if present)
  • update ticket record with dimensions, etc (JSON blob) along the way
  • create photo record from ticket record
  • delete ticket record
  • delete original (maybe?)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions