Scalability for all Images

PLATFORM: Anki Desktop (Windows)

ISSUE:
When pasting an image into a field using the Browse tool, I am able to
a) Click it once to get it to say “double-click to expand”
(dotted line around image)
b) Double-click it to get into what I call “scale” mode.
(dotted line around image with dots at the corners to allow drag-scaling)
This seems to not work for smaller images say around 125x125 or less.
It was suggested to me on a Reddit forum that small images are all ready at
their original size and are being prevented to scale by this feature.

I found, through experimentation, that if the data-editor-shrink=“false” attribute is included in the HTML, then even these small images will scale.

Is there a way that I can create an HTML “template” that Anki can use every time I paste in an image and I don’t manually have to edit the HTML on every image?

Such as
<img src=<filename> data-editor-shrink=“false”>

Or is there an easier/better way to do this ?

Extensive discussion from reddit

1 Like

I’ve logged this on Scalability for all Images · Issue #3201 · ankitects/anki · GitHub

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.