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

Allow user-defined geometries in image#thumbnail_dimensions #2214

Merged
merged 1 commit into from Mar 14, 2013

Conversation

jassa
Copy link
Contributor

@jassa jassa commented Mar 14, 2013

Hey there,

The image_fu helper (and thumbnail_dimensions method) supported the following scenarios:

  • image_fu(image, nil)
  • image_fu(image, "200x200")
  • image_fu(image, "200x200#"), etc.

With this PR now you can pass user-defined sizes (from Refinery::Images.user_image_sizes)

Example:
image_fu(image, :medium)

parndt added a commit that referenced this pull request Mar 14, 2013
Allow user-defined geometries in image#thumbnail_dimensions
@parndt parndt merged commit c7c99d4 into refinery:master Mar 14, 2013
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.

None yet

2 participants