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

Image not centered and sometimes multiple images appear at the same time. #5

Open
ghost opened this issue Nov 16, 2019 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Nov 16, 2019

The images I'm using are large and vary quite a bit in dimensions.
Anki Version 2.1.15 (442df9d6)
Windows 10

@lovac42
Copy link
Owner

lovac42 commented Nov 16, 2019

Each themes folder contains a settings.json file that you can offset the center point and timing. But they should be within 20% of each other in size to prevent positioning issues.

To prevent errors, image FX files size (in kb, not dimention) should be kept small to prevent loading issues on 2.1. You probably have extreme large images of high quality that caused this. It won't be an issue on 2.0, but 2.1 is sensitive.

@lovac42 lovac42 added the rsvp need confirmation to close ticket label Nov 20, 2019
@CoffeeDrinkRabbit
Copy link

I had encountered the same problem, but I noticed that the starting and ending pictures didn't seem to have the same position deviation as the middle space pictures

@lovac42
Copy link
Owner

lovac42 commented Nov 24, 2019

I suppose the template/javascript/css could have something to do with that. 2.1's toolkit has a bug that can't display images, so I had to embed the image into the review card. Depending on the template, the size could be screwed. Hopefully the next update to the toolkit would have fixed this issue, and I could then use the same method I used on 2.0 to display the images without interference from the template.

@lovac42 lovac42 added enhancement New feature or request and removed rsvp need confirmation to close ticket labels Nov 24, 2019
@ghost
Copy link
Author

ghost commented Nov 27, 2019

So I followed your instructions and compressed and resized the images and the problem, for me at least is solved. Thanks.
Sorry for the late reply btw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants