What
Chronicle pages can now hold pictures inside their text (keyxmakerx/Chronicle#997). The page HTML stores each one as <figure class="ce-img …">``<img src="/media/<id>">'``, a path relative to the Chronicle server. When journal sync copies a page into a Foundry journal, the relative src` resolves against Foundry's own address, so the picture shows as broken.
Fix
On pull, resolve /media/<id> image sources the way map sync already does for map pictures (scripts/map-sync.mjs _resolveMediaUrl, the /media/:id metadata endpoint). GM-only pictures never arrive, because Chronicle removes them before sync. On push, write the plain /media/<id> path back, never a signed or absolute link.
Waits on Chronicle#997 merging.
Generated by Claude Code
What
Chronicle pages can now hold pictures inside their text (keyxmakerx/Chronicle#997). The page HTML stores each one as
<figure class="ce-img …">``<img src="/media/<id>">'``, a path relative to the Chronicle server. When journal sync copies a page into a Foundry journal, the relativesrc` resolves against Foundry's own address, so the picture shows as broken.Fix
On pull, resolve
/media/<id>image sources the way map sync already does for map pictures (scripts/map-sync.mjs_resolveMediaUrl, the/media/:idmetadata endpoint). GM-only pictures never arrive, because Chronicle removes them before sync. On push, write the plain/media/<id>path back, never a signed or absolute link.Waits on Chronicle#997 merging.
Generated by Claude Code