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

Automatic ratio #13

Open
AndersDJohnson opened this issue Jul 5, 2015 · 0 comments
Open

Automatic ratio #13

AndersDJohnson opened this issue Jul 5, 2015 · 0 comments

Comments

@AndersDJohnson
Copy link
Owner

Instead of expecting container element to have fixed dimensions that match the content dimensions to maintain proportion, we could attempt to determine the appropriate ratio of the content automatically, e.g. by reading the image dimensions. This could be done real-time to accommodate changes post-initialization.
This might solve scaling issues in #7 when going full screen.
It might also be able to replace the ratio option when the zoom container is to have different proportion than the thumb container.

@AndersDJohnson AndersDJohnson self-assigned this Jul 5, 2015
@AndersDJohnson AndersDJohnson changed the title Real-time proportioning Automatic proportioning Jul 5, 2015
@AndersDJohnson AndersDJohnson removed the bug label Jul 5, 2015
@AndersDJohnson AndersDJohnson changed the title Automatic proportioning Automatic ratio Sep 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant