Set image maximum size

It would be nice if we could set a maximum size in pixels the way we can set the specific image size. I find that if I have large images in a note and only one pane open, they often take up the entire screen (hiding most of the other content). If I set the image size to 400 for example, that helps. But when I then open several panes, and the panes become small, the image usually gets cut off (because it’s no longer dynamically sized based on the pane size).

Being able to set the maximum size would keep the images from taking over and also prevent them from getting cut off when many panes are open. Maybe the syntax could be something like “|<400”.