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

Feature suggestion: full control over image sizes with ImageMedium#derivatives #1051

Closed
fredrikekelund opened this issue Sep 18, 2016 · 2 comments

Comments

@fredrikekelund
Copy link
Contributor

I would like to suggest that the ImageMedium#derivatives method be able to take an array instead of just max, min and step arguments. That array would allow for flexible control over what image widths to resize to.

This is useful because often times you're looking for an incremental increase in image widths - for mobile users you might want to really optimize for performance, but for desktop users, maybe all you need is one or two large versions that won't ever be too small.

I could easily submit a PR for this, but wanted to get a green light first.

@rhukster
Copy link
Member

Sounds useful.. green light given :)

@fredrikekelund
Copy link
Contributor Author

Cool! :) I'll see if I can submit a PR for this some time in the coming week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants