Skip to content

Fix local image URL when not embedding - #15368

Closed
fff122 wants to merge 1 commit into
ipython:mainfrom
fff122:fix-image-local-url-13971
Closed

fff122 wants to merge 1 commit into
ipython:mainfrom
fff122:fix-image-local-url-13971

Conversation

@fff122

@fff122 fff122 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Fixes #13971

Summary

When Image is constructed with a local filename and embed=False, the path is stored in filename while url is unset. Use the local filename as the HTML image source when no URL is present.

Add regression coverage for the non-embedded local-file path.

@Carreau

Carreau commented Aug 26, 2026

Copy link
Copy Markdown
Member

your commit doe not carry your contibution information, maybe you want to fix that with an --amnend ?

@fff122 fff122 closed this by deleting the head repository Aug 30, 2026
@Carreau Carreau added this to the no action milestone Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug in Image when using local file withembed=False

2 participants