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

Add force_width, force_height attributes to image #140

Open
fluffy-critter opened this issue Dec 10, 2018 · 2 comments
Open

Add force_width, force_height attributes to image #140

fluffy-critter opened this issue Dec 10, 2018 · 2 comments
Labels
enhancement New feature or request images Stuff to do with image renditions
Milestone

Comments

@fluffy-critter
Copy link
Collaborator

Expected Behavior

force_width should force an image to appear at the specified width even if it's larger than max_width or the image width.

Same for force_height respective to heights.

It should not cause the underlying image rendition to be scaled up past the original image size, however.

Context

Sometimes you just really want an image to be a particular size, such as in a thumbnail context.

@fluffy-critter fluffy-critter added the enhancement New feature or request label Dec 10, 2018
@fluffy-critter fluffy-critter added the images Stuff to do with image renditions label Jan 4, 2019
@fluffy-critter fluffy-critter added this to the 1.0 milestone Feb 28, 2019
@fluffy-critter
Copy link
Collaborator Author

Wait this is silly, we already have resize="stretch"

@fluffy-critter
Copy link
Collaborator Author

oh but that only works for external/static images

@fluffy-critter fluffy-critter reopened this Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request images Stuff to do with image renditions
Projects
None yet
Development

No branches or pull requests

1 participant