Skip to main content

Request for Improvements: Aspect Ratio Lock - Dev tools & select a ratio


CoryBergen

The new aspect ratio lock is good so far, I have no problems with it, but I think we can make it great.

I was just using the feature for locking the aspect ratios of images and using auto-layout and fill width to grow/shrink the images to fill the frame. That works well, but I noticed two things:

  1. Order of operations: I have to set a fixed height and width first with the aspect ratio I want (400px X 300px for example for a 4:3 ratio), then I can lock the aspect ratio, then I can set the width or height to fill. Not the end of the world, but it takes a couple of steps.
    1. What if we could specify the ratio we want at any time? For example, place an image, set it to fill the frame, then specify the ratio. Maybe it’s a dropdown select of common aspect ratios or maybe it’s a manual input.
  2. Usefulness for developers: When inspecting the image in Dev Mode, the aspect ratio really isn’t helpful. For example, on one of my images with a 3:2 ratio, the CSS style for the image says “aspect-ratio: 332.00/221.33;” because the width of the image that’s filled the frame is 332px.
    1. Can you do the math and simplify the aspect ratio for developers? Show them 3:2 instead of 332.00/221.33

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings