Scale Images

AnkiWeb addon 1312865748 GitHub repository archived

Scales images in Anki note fields during editing by setting their configurable CSS max-height, with shortcuts and buttons for individual or bulk scaling.
AI-generated summary; may contain mistakes.

formattingshortcutsappearance

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
17 (👍 17 · 👎 0)
Updated
2025-03-13
Anki versions
25.02~
Description language
en

Maintenance

abandoned

  • The GitHub repository is archived.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.2025.02+2025-03-13
History across monthly snapshots

Loading…

Similar addons

Image Resize & Crop

Resizes card images to a configurable max width and crops fixed top/bottom pixels to hide slide headers or bars during review, non-destructively, with live preview and note-type targeting.

formattingappearance

Rating 0 👍 0 · 👎 0 Anki 2.1.1~ Updated 2026-04-21
Hyphenate Words

Hyphenates words in a selected Anki field via a configurable shortcut, default Ctrl+-, or button, with optional experimental hyphenation on note changes.

formattingshortcuts

Rating 8 👍 7 · 👎 1 ⭐ 5 Anki 25.02~ Updated 2025-03-13
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

README

⚖️ Anki Image Scaler

[!NOTE] This plugin is no longer maintained. I have archived this plugin due to losing interest.

An Anki plugin that scales images during editing. This plugin sets CSS max-height property (configurable) of all images in a note field to the desired value.

<p align="center"> <img src="images/dune-scale.gif" height="350px"/> </p>

Background

I spend a lot of time solving Anki cards, and I believe that Anki notes should look good. I solve most of my cards on my phone that, as any phone, has a small screen, so when I create a new card, I usually scale down added images, so that the card is pleasant to look at.

Installation

From AnkiWeb

You can install directly from AnkiWeb using Anki's addon management.

From GitHub Releases

You can fetch an addon package from the GitHub Releases tab.

From Source

  1. Run package.
  2. Import imagescaler.ankiaddon in Anki.

Usage

Select a field with an image and press CTRL+S or CTRL+ALT+B.

Configuration

You can configure the plugin using Anki's configuration with the following variables:

  • size-property (default: "max-height") – the CSS property used by the plugin.
  • default-size (default: 150) – the default pixel value suggested for size-property.
  • shortcut — the keyboard shortcut for scaling individual images.
  • bulk_shortcut — the keyboard shortcut for scaling all images in bulk.
  • add_editor_buttons (default: true) – whether to show editor button (keyboard shortcuts will still be active).

To apply a new configuration, you need to restart Anki.