Add 'fit' option that fits image into browser viewport #153

wants to merge 4 commits into


None yet
2 participants

This was originally pull-requested by @vladmu two months ago before your big rewrite.

I took his fit code and added it in.

Sorry about all the trailing whitespace edits in the diff. My editor does that automatically.

rjkip commented Nov 28, 2012

👍, works perfectly. Perhaps you should exclude above commits.

Oops. This is my first pull request. I didn't realize future commits get added in. I'll make a new one. Thanks for letting me know.

lyoshenka closed this Nov 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment