Skip to content

fix: ensure relative CID images load in web views - #3171

Open
joshuaboniface wants to merge 1 commit into
knadh:masterfrom
joshuaboniface:fix/cid-browser-preview
Open

fix: ensure relative CID images load in web views#3171
joshuaboniface wants to merge 1 commit into
knadh:masterfrom
joshuaboniface:fix/cid-browser-preview

Conversation

@joshuaboniface

Copy link
Copy Markdown

Previously, a relative-link CID image in a template would not render properly in the web view or archive of the message; it would use a link relative to the actual campaign URL, which did not contain the media file.

This corrects that by properly resolving CID images to real media URLs during rendering, displaying these images properly.

Previously, a relative-link CID image in a template would not render
properly in the web view or archive of the message; it would use a link
relative to the actual campaign URL, which did not contain the media
file.

This corrects that by properly resolving CID images to real media URLs
during rendering, displaying these images properly.
@knadh knadh added the hodor-review Automated AI code review label Aug 3, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issues Found

No issues found.

Summary

Total issues: 0 critical, 0 important, 0 minor.

Overall Verdict

Status: Patch is correct

Explanation: The PR consistently resolves data-embed inline images to media URLs for archive and web-view rendering by adding a store lookup for media URLs and applying it before template compilation in the relevant endpoints. No production-impacting bugs were identified in the introduced diff.


Review generated by Hodor (model: gpt-5.2)

Review Metrics — 34 turns, 36 tool calls, 3m 31s

  • Tokens: in 23.9K | cached 438.9K | out 10.6K (total 473.5K)
  • Cost: $0.2678

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hodor-review Automated AI code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants