Improving image resizing in editor

There are 3 different ways images get resized:

  1. large images are reduced to fit the width of fields in the editor
  2. images can be double-clicked to shrink them down to a small, pre-determined size in the editor
  3. images can be manually resized to a specific size, which affects both editor and reviewer

This is already potentially a bit confusing, so I hope we can find a way to make everyone happy without adding too much further complexity to either the UI or the code.

For developers, there is a bit of background on the current approach on image changes size when pressing enter · Issue #1804 · ankitects/anki · GitHub. Our data-based approach may make it difficult to support easily changing the default for existing notes (updating the behaviour of newly-added images is easy, but not so useful).

2 Likes