image previews not opening in the preview browser #53
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
instead of showing the image, when a post links to for example /media/2022/11/20221111_0177.jpg, the image link is broken because there is an error "preview asset not found" when opening that image link. This might also happen during rendering, I did not test that, I only tested preview.
Implemented and pushed as
5726b92.The renderer now builds the media rewrite table from every project media record, matching bDS2 original-name aliases and resolving both bds-media IDs and canonical paths to the stored media file. The same mapping is used by draft preview and static generation, preserving query strings and fragments. A real preview-server regression test verifies alias rewriting, bds-media embedding, JPEG MIME/body delivery, and generated HTML.
Verification: focused end-to-end preview test, cargo build --workspace, cargo test --workspace, clippy with warnings denied, Allium check/analyse, and a neutral comparison against issue #53, bDS2, and the rendering/preview specifications. No completeness gaps remained.