Image Rescaler

AnkiWeb addon 1258277333

Rescales images in Anki's editor by setting img width/height attributes, reversibly, with toolbar and context-menu controls, auto-rescale on paste, exempt fields, and manual dialog.
AI-generated summary; may contain mistakes.

note-managementformatting

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
1 (πŸ‘ 1 Β· πŸ‘Ž 0)
Updated
2026-08-05
Anki versions
2.1.2~
Description language
en

Maintenance

active

  • Last update or commit was 57 days before the snapshot (2026-08-05).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1–2026-05-16
2.1.2+2026-08-05
History across monthly snapshots

Loading…

Similar addons

Editor scale images

Allows click-and-drag image resizing in the Anki desktop editor, preserving aspect ratio, with double-click clearing and configurable border; no further development due to built-in Anki 2.1.50+.

formattingobsoletemobile-compatible

Rating 5 πŸ‘ 5 Β· πŸ‘Ž 0 ⭐ 0 Anki 2.1.49~ Updated 2022-02-11
Anki Image Reshaper

Automatically resizes and aligns images pasted or drag-dropped into Anki's editor using configurable strategies, toolbar switching, and deck-specific defaults.

card-creationformattingappearance

Rating 1 πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 0 Anki 2.1.66~ Updated 2025-12-28
Resize images in editor

Deprecated editor tool that lets users resize images by click-and-drag, incorporating max height/width controls, now unnecessary since Anki 2.1.50 supports native resizing.

formattingobsoletemobile-compatible

Rating 99 πŸ‘ 77 Β· πŸ‘Ž 22 ⭐ 8 Anki <=2.1.48 Updated 2021-07-19

README

Anki Image Rescaler

An Anki add-on that lets you rescale images in the note editor. Rescaling sets the display size via the <img> tag's width/height attributes, so the original image file is never modified or recompressed (unlike resizing, which loses quality). Every change is reversible. It also supports auto-rescale on paste.

AnkiWeb addon link: https://ankiweb.net/shared/info/1258277333

Features

  • Three scopes for rescaling: the image you clicked, every image in the current field, or every image in every field of the note.
  • Toolbar buttons: Image Rescale β–Ύ (full menu), plus dedicated Rescale Image / Rescale Field / Rescale Card buttons. Left-click applies your default size; right-click any button for per-scope options (manual size, width-only, height-only, revert, settings).
  • Right-click in a field: image-rescale options are added to the editor's context menu.
  • Manual Rescale dialog: enter an exact width and/or height, with an optional "remember these values" toggle.
  • Auto-rescale on paste: pasted images are sized automatically (toggleable; by width or height). Paste with Ctrl+Shift+V (Cmd+Shift+V on Mac) to paste a single image without rescaling.
  • Exempt fields: field names (e.g. "Text") can be marked in Settings so images pasted into them are never auto-rescaled, across every note type. Manual rescale actions still work on these fields.
  • Revert: strip the add-on's sizing and return any image to its original display size, at any scope.
  • Works on Windows, macOS, and Linux (right-click on toolbar buttons is handled at the Qt level so it works on native macOS toolbars too).

Repository layout

.
β”œβ”€β”€ src/             # the add-on itself (this is what ships)
β”‚   β”œβ”€β”€ __init__.py  #   all add-on logic
β”‚   β”œβ”€β”€ config.json  #   default settings
β”‚   β”œβ”€β”€ config.md    #   settings docs shown in Anki
β”‚   └── manifest.json#   add-on metadata
β”œβ”€β”€ build.sh         # package src/ into publications/*.ankiaddon
β”œβ”€β”€ deploy.sh        # copy src/ into the local Anki addons folder for testing
β”œβ”€β”€ LICENSE
└── README.md

Installation

From AnkiWeb

AnkiWeb addon link: https://ankiweb.net/shared/info/1258277333

In Anki: Tools β†’ Add-ons β†’ Get Add-ons… and enter the code 1258277333. Anki keeps it updated automatically.

From a packaged build

  1. Build the add-on: ./build.sh (produces publications/anki-image-rescaler.ankiaddon).
  2. In Anki: Tools β†’ Add-ons β†’ Install from file… and select the .ankiaddon file.
  3. Restart Anki.

Manual install

Copy the contents of src/ (__init__.py, config.json, config.md, manifest.json) into a new folder inside your Anki addons21 directory, then restart Anki.

Configuration

Open Tools β†’ Image Rescaler Settings…, use the Settings entry in any toolbar button menu, or edit the config via Tools β†’ Add-ons β†’ Config. All keys are documented in src/config.md.

Development

The source of truth is this repository. To test changes in a live Anki install, deploy the source into Anki's add-on folder:

./deploy.sh   # copies src/ into the local Anki addons21 folder

Then fully restart Anki to reload the add-on.

meta.json is intentionally not tracked: Anki generates it per install.

License

Released under the MIT License.