Anki Forums

Resizing images

Hello. Often, when I insert images onto cards, I find that they are not the idea size, so I resize them.

In the past, I used the add-on Resize images in editor, which I really liked. I could resize an image just by dragging an edge. However, this add-on does not work as of version 2.1.41. The author has said on the add-on’s GitHub page that recent changes to Anki have made it complex to get the add-on working, so he may not be able to do it.

As a work-around, I have been using the Image Style Editor add-on. However, this is not ideal. Resizing an image requires several clicks and typing a number.

Would it be possible for the ability to resize images by clicking & dragging to be incorporated into Anki?

1 Like

I fully agree that this should land natively in Anki. I’ve been meaning to implement this, and it’s on my list (together with a couple other things).

3 Likes

Great, thank you :slight_smile:

Could you help me understand why specifying a cap on maximum width/height for all images is not sufficient? The idea behind card templates is you define the general style you want so you don’t need to mess with it for each card.

1 Like

Hi Damien, thanks for the reply. And thanks for your work on Anki, I really like the recent improvements.

My answer is, the ideal size for the image often depends on what the image is. In example 1, the image on the front needs to be fairly small (or it would look silly), and the image on the back needs to be large (so you can read the text).

I often resize images with text in, so the font is the right size (as in example 2). But it’s a different amount of resizing, depending on the image itself.

1

2

Does that make sense? :slight_smile:

1 Like

Thanks, appreciate you taking the time to elaborate.