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

how to decrease the zoom scale? #131

Open
PapaMadeleine2022 opened this issue Dec 29, 2017 · 1 comment
Open

how to decrease the zoom scale? #131

PapaMadeleine2022 opened this issue Dec 29, 2017 · 1 comment

Comments

@PapaMadeleine2022
Copy link

hello, I feel the zoom scale is too big, So I decrease the magnify value to 0.5, but it seems to not work.
Can you give some advises?
looking forward to your reply.

@jackmoore
Copy link
Owner

@IvyGongoogle The magnify value is multiplied by the natural width and height of your image (not the actual displayed size). For example, if you have a 400px image displayed at 200px and use a magnify of 0.5, you end up back at the displayed size (400px * 0.5 = 200px), making it look like it's not working. So you probably want to change your 0.5 value to something between 0.5 and 1.

Sorry, I acknowledge this is confusing. I don't know what I was thinking when I originally set it up this way. I should have based the magnification on the displayed size, but I was probably thinking that I wanted it to be easy for users to display the image at it's natural size.

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

No branches or pull requests

2 participants