You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: