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

Accept mode param in image size definition #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Aug 15, 2014

  1. Accept mode param in image size definition

    This modification adds the possibility to add a new parameter in the images size definition: mode.
    
    If mode = 'cropCenter', the image will be cropped to match the specified dimensions, no matter the original aspect ratio.
    If not specified the default behavior will be applied.
    
    This is handy if you need to have different aspect ratios in the same image, by cropping them centered. If the image is smaller than the required dimensions, it will be amplified.
    lucaslopez committed Aug 15, 2014
    Configuration menu
    Copy the full SHA
    bea82bb View commit details
    Browse the repository at this point in the history
  2. Typo correction

    lucaslopez committed Aug 15, 2014
    Configuration menu
    Copy the full SHA
    544316c View commit details
    Browse the repository at this point in the history