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
Adding the ability to use other props (primarily: height) in the CDN url.
Non-Goals
No response
Background
Our primary use-case for this would be to be able to pass the height to the Contentful CDN url in addition to the width and quality.
We make use of image focal points in Contentful which require an additional height in the request to function properly.
For reference, setting a focal point allows the image resizer to track a specific point of the image when cropping.
Proposal
The end goal would look something like this:
I can take a shot at trying to implement this, however I would need some pointers where to start as this repo seems quite humongous and I have no clue where to start looking...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Goals
Adding the ability to use other props (primarily:
height
) in the CDN url.Non-Goals
No response
Background
Our primary use-case for this would be to be able to pass the height to the Contentful CDN url in addition to the width and quality.
We make use of image focal points in Contentful which require an additional
height
in the request to function properly.For reference, setting a focal point allows the image resizer to track a specific point of the image when cropping.
Proposal
The end goal would look something like this:
I can take a shot at trying to implement this, however I would need some pointers where to start as this repo seems quite humongous and I have no clue where to start looking...
Beta Was this translation helpful? Give feedback.
All reactions