Update README and add new image

This commit is contained in:
Jake Runyan 2025-01-25 21:14:27 -08:00
parent 29a2c7676b
commit f6be18ed1d
2 changed files with 11 additions and 0 deletions

View File

@ -31,3 +31,12 @@ npm start
docker compose down && docker system prune -af && docker compose build && docker compose up -d && docker logs -f jakesphotos
```
## Notes on Generating Image Links
Getting image links from Immich is not straightforward.
Procedure is to
1. Add a new image to the shared folder.
2. Generate a new share link for the folder.
3. Open the shared link, and for each picture right click > open image in new tab.
4. The generated URL should be of the form `https://images.whitney.rip/api/assets/e03f66a6-a619-4624-a473-860026b3446a/thumbnail?size=preview&key=G4sdLdVrDhEpIFRcIJ9alvI6Re6_CmJGQ1VirR5Y3zjkA22Cr6vMVcviTYpTjq8PnuA&c=S6DnBWy90pmryXsnoQX9CQ3Y%2BBo%3D`
5. URL can be added to the images.js file.

View File

@ -40,6 +40,8 @@ const images = [
"https://images.whitney.rip/api/assets/e6934d1a-543c-4ed8-9c29-a94e915f9d94/thumbnail?size=preview&key=D35MzfeQJrcbf7FxRqtuTXw5CiKeNfAkNxsq4XAY6ivSt-Sa6otitmnUJQU-MAKuKPU&c=MFYQwAOAqDLeQZctMTN7UPS54Qk%3D",
"https://images.whitney.rip/api/assets/0e88d871-fc8e-4ac3-a96a-920fce3cc546/thumbnail?size=preview&key=D35MzfeQJrcbf7FxRqtuTXw5CiKeNfAkNxsq4XAY6ivSt-Sa6otitmnUJQU-MAKuKPU&c=29jBcvMO6cEuqd08%2Bnf8BEmO4WE%3D",
"https://images.whitney.rip/api/assets/379a3b92-ff9b-4455-afe7-c2c6a8a270cd/thumbnail?size=preview&key=D35MzfeQJrcbf7FxRqtuTXw5CiKeNfAkNxsq4XAY6ivSt-Sa6otitmnUJQU-MAKuKPU&c=jsXHbNIeKLQY6Tcs%2FVh9bE5KlOE%3D",
"https://images.whitney.rip/api/assets/e03f66a6-a619-4624-a473-860026b3446a/thumbnail?size=preview&key=G4sdLdVrDhEpIFRcIJ9alvI6Re6_CmJGQ1VirR5Y3zjkA22Cr6vMVcviTYpTjq8PnuA&c=S6DnBWy90pmryXsnoQX9CQ3Y%2BBo%3D",
"",
];
export default images;