Skip to content

Fix local image URL when not embedding - #15368

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

Fix local image URL when not embedding#15368
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

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.

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

1 participant