14 0
Sign in to rate

Maximum image height in card editor

<10kB. Updated 2019-02-25. Supports both Anki 2.0.x and 2.1.x.

Description

This add-on allows limiting the height of the images displayed in the Anki card editor so that all the fields are (possibly) visible together. To change the maximum image height, go to Anki 2.1: Tools > Add-ons > Maximum image height in card editor > Config and set the variable max-height equal to the pixels you want. Anki 2: Tools > Add-ons > max_img_height > Edit.. and set the variable MAXHEIGHTPX equal to the pixels you want Changelog Anki 2.1 v1.0.1 (24/02/2019) Fix image HTML modified by addon v1.0 (09/07/2018) Initial release Anki 2 v0.1 (12/04/2015) Initial release Issues Report any bug in the GitHub issues page of the project. The Anki 2 version is unsupported. Comments on this page like "It doesn't work" are completely unuseful (also because I cannot reply on this page). So please fill a bug report on github if you want your problem fixed. Author Simone Gaiarin (simgunz AT gmaill DOT com) License Software distributed under the GNU General Public License version 3 (GNU GPL v3). http://www.gnu.org/copyleft/gpl.html References Github page (Anki 2) Github page (Anki 2.1) Blog post

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

To download this add-on, please copy and paste the following code into the desktop program:

229181581

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

Other Anki 2.0.x Add-Ons Other Anki 2.1.x Add-Ons Ask a Question

Reviews

on 1554978299
Works like a charm! Thank you!
on 1550991095
where do i change the MAXHEIGHTPX? there's two places wehre MAXHEIGHTPX is
I' m very new to this, not sure where in the code to change.
on 1545340170
This is awesome, thank you so much! The problem I had with the other one was that it wouldn't work with images that didn't have a background and it also distorted the images. This one has neither of these problems and is probably the best solution out there!
on 1543254182
Works great, great job.

Had a problem where it stopped working suddenly because of a conflict with another addon (not sure which), but I added an 'a' to the name of the file in the addons folder to change the load order and now it's fine. Try that if it's not working for you.
on 1529762818
Great
on 1524787200
I don't work with images a lot; but these QOL changes are appreciated!
on 1467417600
Excellent

Thank you very much! It works perfectly.
on 1455062400
Very useful, thanks!

I work with a lot of fields. This add-on has made my life much easier when adding images to them. No more endless scrolling to get to the lower fields!