-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[BUG]: Images in Image Occlusion cards are too small on AnkiDroid [landscape mode] #15235
Comments
Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing |
For anyone having this issue, changing the styling template to this works. It's a hacky solution but it does the job:
|
This comment was marked as outdated.
This comment was marked as outdated.
Here is what Damien has to say on this issue:
|
Thanks! Good first issue to apply the CSS provided above |
Hey, Im currently also looking into this and for some reason Im either unable to reproduce it or to stupid. Maybe you can help me out. |
To reproduce this, the phone needs to be in the landscape mode. Probably, you are trying to reproduce it in the Portrait mode. |
Yes. As mentioned in the original post, it occurs only with the native IO cards.
Probably, we should find a middle way between the current size in native IO cards and the size in add-on generated IO cards. |
Hi, I was starting to look into this issue and was able to reproduce it. I tried adding the afore mentioned css styling to the "flashcard.css" file to fix it, but unfortunately it does not seem to solve the problem, it just shifts the image to the left without changing the size. Am I missing something obvious here about the place where the android specific styling should happen? |
I'm looking into this as my first issue! I've already replicated it think I have an idea of things to try on Anki Android to fix this issue, seen as tough it only seems to happen to me with certain image sizes. Could I have this assigned to me? |
Applied suggested styling, with !important to make sure it was applied over the ones imported over from the Desktop app.
Applied suggested styling, with !important to make sure it was applied over the ones imported over from the Desktop app.
Checked for duplicates?
What are the steps to reproduce this bug?
Create an Image Occlusion card in Anki desktop (Version 23.12.1).
Sync and review it in AnkiDroid.
Expected behaviour
Images fit to width.
Actual behaviour
Images are very small and have to be zoomed in manually.
This is a card made with Anki's native Image Occlusion:
This was made using the Image Occlusion Enhanced addon:
Debug info
(Optional) Anything else you want to share?
Update: the issue is still present in AnkiDroid 2.17alpha16
Research
The text was updated successfully, but these errors were encountered: