jupyter / jupyter/notebook

Adjusting width of attached image in markdown cell

Open
#1,885 14 comments 21 reactions 0 assignees View on GitHub
bug component:Notebook
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

I love the "attach image" functionality from PR #621. However, currently I need to manually adjust the size of the image before I attach it to get a proper rendering (appropriate width). If I want to change the size of the image, I need to remove the attachment, resize the image file with an editor and upload it again.

Is it possible to have some kind of way to specify the width (and/or height) of an attached image in a markdown cell?

Contributor guide

Open the contributing guide

Research direction

Review PR #621 and the current attached-image behavior in markdown cells. Determine how a user could specify image width and/or height, then verify that the chosen dimensions render correctly without requiring the image to be re-uploaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.