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

Crop alignment & same height/width images get cropped correctly #61

Merged
merged 2 commits into from
Jun 1, 2012

Conversation

thomaschaaf
Copy link
Contributor

I added a align variable to the thumb function. You can now say center or topleft. Topleft is the standard with 0/0 offset.

Also I made the images of same height & width crop correctly.

1. I added align which can either be topleft or center. If center is
specified we'll create a crop from the center of the image.
2. I fixed the resizing of same height and width images. As the thumbs
came out the wrong size.
1. I added align which can either be topleft or center. If center is
specified we'll create a crop from the center of the image.
2. I fixed the resizing of same height and width images. As the thumbs
came out the wrong size.
aheckmann added a commit that referenced this pull request Jun 1, 2012
Crop alignment & same height/width images get cropped correctly
@aheckmann aheckmann merged commit ab8aace into aheckmann:master Jun 1, 2012
@aheckmann
Copy link
Owner

excellent. thanks!

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.

2 participants