AnKing-VIP / AnKing-Note-Types

https://www.ankingmed.com
GNU Affero General Public License v3.0
43 stars 20 forks source link

Fixed image sizing in other fields like First Aid/Sketchy fields in AnKingOverhaul #170

Closed icetomoly closed 8 months ago

icetomoly commented 8 months ago

Which Note Type (and version) is this about?

AnKingOverhaul - latest version Updated 2024-01-19

Checklist

Please replace the space inside the brackets with an x if the following items apply:

What Anki version are you using?

*Please open Anki, go to Help → About (windows) or Anki → About Anki (mac) to find the version. Edit the value between the backticks below

23.10.1

What Operating system are you using? (i.e. MacOS, Windows, Linux)

MacOS Sonoma

Problem case

I'm someone who adds a lot of screenshots to AnKing, primarily the lecture notes, missed questions, and Pathoma fields. I sometimes even update the First Aid field as well. I noticed that if I am pasting a large image, the only field that has a fixed image size is the First Aid field. This is great because the First Aid toggle has nearly all of the images as the same size when review cards. In all the other fields, if I paste images and open up the toggle, the images are different sizes, which can be distracting and hard to follow. I'm not good at adjusting the backend of my Anki browser to add customization like this, so I apologize if there's an easy fix that I'm missing.

Solution

Concisely describe the solution you would like Offer a toggle or instructions on how to incorporate a fixed image size for screenshots in other AnKing fields. Personally, I think the First Aid/Sketchy image size is perfect.

Concisely describe alternatives you've considered (if any) I manually resize images in browser.

More information

Additional context: Add any other context or screenshots about the feature request here.

AnKingMed commented 8 months ago

it's in the styling of the note type with something like img {max-width:100%}

Before it may be #firstaid or some field ID. Each field has an ID so this could be manipulated if you wanted to

icetomoly commented 8 months ago

Thank you for the response!