Anki add-on: AnkiMedZoom

Needed a tool to zoom in on ECGs. What it does is it creates a _zoom.js and _zoom.css and automatic apply this to your global card settings. Features Click to Zoom : Click any image on a card to zoom in/out Pan While Zoomed : Drag the zoomed image around to see different parts Wheel Zoom : Use mouse wheel to zoom in/out while zoomed Arrow Keys : Use arrow keys to pan the zoomed image ECG Ruler Mode : Right-click a zoomed image to activate time measurement (Beta) Visual Measurement : See a green line while dragging to measure Zoom Click an image on a card to zoom in (2x zoom) Click again to zoom out Scroll wheel while zoomed to zoom in/out (1x to 6x) Pan (when zoomed) Drag the image around to see different parts Arrow keys to pan (← → ↑ ↓) ECG Measurement (BETA!) Zoom in on an ECG image Right-click to activate ruler mode Drag horizontally to measure time Green line shows your measurement Release to see the result in seconds and milliseconds Click anywhere to exit measurement mode Troubleshooting Add-on doesn't appear : Make sure the folder is named AnkiMedZoom (case-sensitive on some systems) Measurements are wrong : Adjust TIME_PER_STRIP in _zoom.js - This is probably the most likely cause for issues. Not sure how to proper account for this. Images not zooming : Make sure your card contains <img> elements Tested on Anki Version ⁨24.11 (87ccd24e)⁩ Date: 05-04-2026 Fix: Fixed an issaue where state corruption would occur and break the zoom feature. Credits to Anthropic's claude for helping to identify the issue.

GitHub repository: nicklas0x1/ankimedzoom
Repository description: An Anki add-on that adds zoom and ECG time measurement tools to all cards.
Languages: JavaScript, Python, CSS