Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IO one by one zoom #178

Closed
3 of 5 tasks
dianacd28 opened this issue Apr 9, 2024 · 12 comments
Closed
3 of 5 tasks

IO one by one zoom #178

dianacd28 opened this issue Apr 9, 2024 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@dianacd28
Copy link

dianacd28 commented Apr 9, 2024

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:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the note type by redownloading it from AnkiWeb
  • I've tried to disable add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

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:


@dianacd28 dianacd28 added the bug Something isn't working label Apr 9, 2024
@AnKingMed
Copy link
Collaborator

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
Copy link

CaptainDead commented Apr 9, 2024

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
Copy link

CaptainDead commented Apr 9, 2024

⭐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
Copy link
Author

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
Copy link
Author

⭐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
Copy link

CaptainDead commented Apr 9, 2024

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
Copy link
Collaborator

@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
Copy link

CaptainDead commented Apr 10, 2024

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
Copy link

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: AnKing-VIP/anking_notes_addon#28

@abdnh
Copy link
Contributor

abdnh commented Apr 14, 2024

I reverted the change.

@AnKingMed
Copy link
Collaborator

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
Copy link

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 - AnKing-VIP/AnkiRecolor#36 (comment)

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 - AnKing-VIP/AnkiRecolor#36 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants