Fit to height/fit to width image option
It'd be awesome if their was an option that let you say that the greater dimension fit the shape. For instance, if I made an image shape with a 300px x 300px border, and my client dropped a portrait oriented image in, it would be 300px high x whatever wide. If my client dropped in a landscaped image, it would be 300px wide x whatever high.
Thanks for the idea.
This is already available. Select the image and then. on the right properties panel, play with the “Fitting” options.
These options will remain even if you or your CMS user change the image later on.
to be able to have an element adjust to the viewport height (vh) and viewport width (vw).
i cant create elements that adjust to the viewport height (100% height of the browser window)
This would be especially helpful in the collections.
That's not quite what I meant. So far, you have a couple settings:
- Original size
- Fit to Width
- Fit to Height
What I was suggesting combines the fit to height and fit to width into one function, separately. Whichever dimension is larger takes precedence.