hi,
i searched and found several answer to this, none of them did it for me though. please bear with me, i am new here.
i want anki to show the image exactly at the size it has (see screenshot attached). I tried to include
img {
max-width: unset;
max-height: unset;
}
to the card, but it didn’t work. i might need more detailed instructions (for dummies) where to add this.
please see screnshot attached, how my anki blows up the images. on the left you see irfanview at 100%. on the right side you see the enlarged image in anki
As far as i can tell, this should keep your images at the original resolution. But maybe i’m missing something.
If that does not work, and you want to get to the bottom of the issue, i think its time to install the AnkiWebView Inspector Addon and inspect the image element.
If the original resolution is not as important to you, than your max-width: 300px + max-height: 300px could be adapted for Smartphones running Ankidroid / AnkiMobile by something like this:
If you want to specifically target small screens that are not using Ankidroid / AnkiMobile (for e.g. small Laptop screens), you could use something like this: