`min ratio to crop` site setting should respect w/h ratio as defined in markdown

@nbianca can you add this to your list? Ideally we’d be able to have a consistent behavior between the preview and the cooked post by allowing users to enter a width and/or height for their images.

Also, if we can remove mocks from the specs at the same time, it would be amazing :star_struck:

6 Likes

The problem was fixed. :heavy_check_mark: Check out the first post. :relaxed:

https://github.com/discourse/discourse/pull/9224

8 Likes

This topic was automatically closed after 28 hours. New replies are no longer allowed.

Testing this out :slight_smile:

Default


![image|17x500](upload://yXTPZPSZ3ekwUHlPa2LhP43vdfc.png)

Bad user making stuff huge


![image|17x2500](upload://yXTPZPSZ3ekwUHlPa2LhP43vdfc.png)

Shrinking


![image|17x500, 10%](upload://yXTPZPSZ3ekwUHlPa2LhP43vdfc.png)

Looks great :clap: @awesomerobot is going to be happy :smiling_face_with_three_hearts:

8 Likes