AnKing-VIP / AnKing-Note-Types

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

IO one by one zoom #178

Closed dianacd28 closed 2 months ago

dianacd28 commented 2 months ago

Which Note Type (and version) is this about?

IO one by one

Problem description

I recently updated anki and now the cards I made using the "IO one by one" note type aren't working like they used to before. They used to show up with more zoom, but they don't anymore. I've already tried to create new cards using the same note type to see if it fixes the problem, but it doesn't work. The cards look tiny and I can't read them. I'll attach some images so you can see the comparison (the first one is the way they look after I updated anki and the second one is the way the used to look).

I kindly ask for your help since I have a big test coming up and those cards are really important.

anki anki 2

PS: English isn't my first lenguage, so I apologize for any mistakes, I tried to explain the issue the best I could.

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?

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

2.1.24.04

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

Windows 11

Please include OS version as well if possible

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

AnKingMed commented 2 months ago

Try changing these settings in the "styling" tab of the note type and see if it fixes it. You could just remove this paragraph or change the 95vw and 80vh to 100% or something like that

/*~~~~~~~MAX IMAGE HEIGHT/WIDTH~~~~~~~*/
img {
  max-width: 95vw;
  /* note: changing this may impact the occlusions */
  max-height: 80vh;
}
CaptainDead commented 2 months ago

Try changing these settings in the "styling" tab of the note type and see if it fixes it. You could just remove this paragraph or change the 95vw and 80vh to 100% or something like that

/*~~~~~~~MAX IMAGE HEIGHT/WIDTH~~~~~~~*/
img {
  max-width: 95vw;
  /* note: changing this may impact the occlusions */
  max-height: 80vh;
}

PLEASE integrate this change officially into the addon, I spent so much time trying to understand why I am having this issue (the same issue as the above) It gave me a crazy headache as I was worried I would have to redo all of my stuff or that I will not be able to study from my cards anymore, my exam is very near, I was nearly fuked but luckily I realized its because of the new update, I had a copy of the old addon folder so I copy pasted and replaced the new one to that old one and clicked reset on the anking note types I use and everything was back to normal.

I even wrote the whole explanation of this issue on my note pad only to realize someone already made a issue about this😭 and

PLEASE so many people are probably having this problem and might be unaware as to why it is happening, give another update and fix this, a big exam of India (NEET) is in 25 days and I think many people use anki, so I request to fix this, thanks.

Before Update - A long image can be read slowly by scrolling. image

After Update - A long image is stretched horizontally so that we can see it at once completely, nothing is readable. image

CaptainDead commented 2 months ago

⭐To the guy who shared this issue -

Hey bro if the above fix did not work please unzip the file I shared and paste this folder (in addons21 folder) and click replace if asked - 952691989.zip addons 21 location - In Anki, click on tools > addons and then choose any addon and click on 'View Files' and then you can locate the addons21 folder (see the pic) image

Click there and paste the folder u got after unzipping the file I share, click replace if asked, and then go to the anking note types from the Anking option at the top bar and do not click on update if asked,

go to the note types you use and click on 'reset' and then save and maybe also restart and you everything will be back to how it was image

dianacd28 commented 2 months ago

Try changing these settings in the "styling" tab of the note type and see if it fixes it. You could just remove this paragraph or change the 95vw and 80vh to 100% or something like that

/*~~~~~~~MAX IMAGE HEIGHT/WIDTH~~~~~~~*/
img {
  max-width: 95vw;
  /* note: changing this may impact the occlusions */
  max-height: 80vh;
}

Hi. I've tried this and it didn't work, the images got a little bit of zoom, but not enough to be able to read them.

dianacd28 commented 2 months ago

⭐To the guy who shared this issue -

Hey bro if the above fix did not work please unzip the file I shared and paste this folder (in addons21 folder) and click replace if asked - 952691989.zip addons 21 location - In Anki, click on tools > addons and then choose any addon and click on 'View Files' and then you can locate the addons21 folder (see the pic) image

Click there and paste the folder u got after unzipping the file I share, click replace if asked, and then go to the anking note types from the Anking option at the top bar and do not click on update if asked,

go to the note types you use and click on 'reset' and then save and maybe also restart and you everything will be back to how it was image

I followed all the steps and it worked perfectly. My cards are back to the way they used to be and I can finally read them! Thank you so much for your reply, it was really helpful.

CaptainDead commented 2 months ago

I followed all the steps and it worked perfectly. My cards are back to the way they used to be and I can finally read them! Thank you so much for your reply, it was really helpful.

while I was typing all that I was wondering if I am just wasting my time so I am glad it was helpful, study hard👍🥂

AnKingMed commented 2 months ago

@abdnh I think I implemented this to make things not as huge on mobile but it looks like it's causing other issues. Can you revert the change I made to whatever it was before?

CaptainDead commented 2 months ago

I dont use Anki app a lot but If I remember it right, the texts are real big in mobile, but images are only big if WE add big images, so its fine.

and btw let us know when you guys have fixed this back to how it was so that we can update the addon later, thanks.

QuietBasil commented 2 months ago

I opened a new issue about the same by opening the "Contact Author" link on the ankiweb webpage of the Anking note types. I did not know there was another github project address too where the same issue was also started.

Here is the link to my issue: https://github.com/AnKing-VIP/anking_notes_addon/issues/28

abdnh commented 2 months ago

I reverted the change.

AnKingMed commented 2 months ago

Thanks @abdnh. You can go ahead and push a new version of the addon now. If there are a few other bugs worth addressing first you can wait till those are addressed and combine all into one update.

Thank you!

CaptainDead commented 2 months ago

Hey there's a small suggestion - it would be nice if there was a option to turn off the low opacity BG color that automatically comes with the Anking Notetypes. Like it once caused me a problem - https://github.com/AnKing-VIP/AnkiRecolor/issues/36#issue-2177620015

and ig it would be convenient if there was a turn off setting for that, I always remove it from the styling as it interferes with the theme I choose using 'Recolor' addon and even without that theme problem there are probably other people too whodoesn't want a background. thanks.

This is the styling BG I am talking about - https://github.com/AnKing-VIP/AnkiRecolor/issues/36#issuecomment-1988325209