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

Added image resize to screen support #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

semirke
Copy link

@semirke semirke commented Aug 4, 2014

New config vars:

  • resizeToImg: if true, resizes div to content image. Only allowed if content == "image".
  • resizeToMaxScreen: resize to be this ratio to screen. 0 disables it. 0..1 allowed (1=100%).

  New config vars:
   - resizeToImg: if true, resizes div to content image. Only allowed if content == "image".
   - resizeToMaxScreen: resize to be this ratio to screen. 0 disables it. 0..1 allowed (1=100%).
@semirke
Copy link
Author

semirke commented Aug 4, 2014

Hi,
really like your plugin.
Added a new feature, I think it is handy/pretty neat.

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

Successfully merging this pull request may close these issues.

1 participant