Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 1.64 KB

LOGBOOK.md

File metadata and controls

50 lines (28 loc) · 1.64 KB

2023-06-19

https://photoswipe.com/getting-started/ could be useful for creating the online image library when I get around to doing that.

2022-08-07

lots of progress with the help of co-pilot, now have working MD in datasette.

Am trying out how to get image views in datasetts. I tried https://github.com/kracekumar/datasette-render-local-images, but it made datasette return an error, so I am dropping this. I'm going to try having a look at https://simonwillison.net/2020/Jul/30/fun-binary-data-and-sqlite/ and https://datasette.io/plugins/datasette-media

This shows how to render customer templates that allow you to view images: https://datasette.io/tools/dogsheep-photos

This shows you how to input blob data:

And this shows you how to configre the media plugin to show media: https://simonwillison.net/2020/Jul/30/fun-binary-data-and-sqlite/

Some other changes

  • now have the repo using conda env, use:

$ conda activate bm_archive

  • now have a set of scripts for creating the sqlitedb
  • am liberally using sqlite-utils for update the schema, and experimeting with images and blobs.

2022-04-29

Looking at hashing functions, had a bit of a problem working with PIL, ended up using the anaconda version of python:

/Users/devian/opt/anaconda3/bin/python3 quick_hash.py ../images/osx-export-3/IMG_1670.JPG ../images/osx-export-3/IMG_1670.JPG 0708140c7efeffcf 492f7b20fd4f4e40308ae31f53e41ff4

## 2022-04-28

Experimented with a few ways to export photos from an OSX image album.

osxphotos export --album test-osx-export --exiftool . osxphotos export --album test-osx-export . --sidecar XMP osxphotos export --album test-osx-export .