danvk / oldnyc

Mapping photos of Old New York
Apache License 2.0
288 stars 130 forks source link

Link to back of photo should go to NYPL digital collections page #43

Closed danvk closed 1 year ago

danvk commented 9 years ago

@riordan I think you were going to get me a big photo ID→digital collections ID mapping for this?

riordan commented 9 years ago

Yeah; may require a code change on our end. Let me verify.

riordan commented 9 years ago

I now have access to the db where we can directly get those updated URLs.

Should I just update them inside the photos.pickle?

danvk commented 9 years ago

Just commit a JSON file with the mapping. I'll incorporate it into generate_static_site.py. On Fri, May 1, 2015 at 1:49 PM David Riordan notifications@github.com wrote:

I now have access to the db where we can directly get those updated URLs.

Should I just update them inside the photos.pickle?

— Reply to this email directly or view it on GitHub https://github.com/danvk/oldnyc/issues/43#issuecomment-98186444.

danvk commented 9 years ago

@riordan is there a pattern to the foreground/background UUIDs?

fg: 510d47dd-0618-a3d9-e040-e00a18064a99
bg: 510d47dd-0617-a3d9-e040-e00a18064a99
fg: 510d47dc-e46c-a3d9-e040-e00a18064a99
bg: 510d47dc-e46b-a3d9-e040-e00a18064a99

In both cases, going from foreground→background involves subtracting 1 from the 12th digit.

riordan commented 9 years ago

Haven't been able to discern one yet.

Sent from my iPhone

On May 18, 2015, at 6:48 PM, Dan Vanderkam notifications@github.com wrote:

@riordan is there a pattern to the foreground/background UUIDs?

fg: 510d47dd-0618-a3d9-e040-e00a18064a99 bg: 510d47dd-0617-a3d9-e040-e00a18064a99 fg: 510d47dc-e46c-a3d9-e040-e00a18064a99 bg: 510d47dc-e46b-a3d9-e040-e00a18064a99 In both cases, going from foreground→background involves subtracting 1 from the 12th digit.

— Reply to this email directly or view it on GitHub.