# Find an image's picture by its picture id, not its item id · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/26658e615e58335ce8db880a15e7d47ad8fc1402)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 26658e615e58335ce8db880a15e7d47ad8fc1402

Requested commit: 26658e615e58335ce8db880a15e7d47ad8fc1402

Commit: 26658e615e58335ce8db880a15e7d47ad8fc1402

Tree: 296a8477e3b2c3d7566109421c720234e126a505

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Find an image's picture by its picture id, not its item id

A placed image may name the picture it shows (assetId, Hive field 11);
without one, its own id names the picture, as before, so every image,
.ica file and backup made so far reads exactly as it did. pictureId is
the id the picture is stored, uploaded and found under: rendering, the
page transition, screenshots, video export, the upload queue, cloud
export, local-to-cloud migration and the cleanup of unused picture
files all use it. Item identity (undo, transitions, sync rows, hero
tags) stays the image's own id.

Nothing makes such images yet; copies will (see the server half).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [09301ab3cc8511c29c2b6445d73f84de49705607](https://git.cafe/dara/icarus/commit/09301ab3cc8511c29c2b6445d73f84de49705607?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/26658e615e58335ce8db880a15e7d47ad8fc1402?format=markdown)
