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
{{ message }}
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.
I want to be able to specify a certain aspect ratio without having to fetch the preset's width or height attribute - doing this would remove the advantage of having presets in the first place.
Furthermore, using different srcset presets, manually calculating values for all sizes is just too tedious.
Maybe there's a simple(r) approach, feedback welcome as always.
Cheers,
S1SYPHOS
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey there,
since I couldn't find anything really targeting what I need, here's a thought: How about passing an aspect ratio to
thumb
, which makes itI want to be able to specify a certain aspect ratio without having to fetch the preset's width or height attribute - doing this would remove the advantage of having presets in the first place.
Furthermore, using different
srcset
presets, manually calculating values for all sizes is just too tedious.Maybe there's a simple(r) approach, feedback welcome as always.
Cheers,
S1SYPHOS
The text was updated successfully, but these errors were encountered: