How to place pictures in containers with fixed width and height

  node.js, question

I am like an upper container, the width and height are fixed, then I put a big picture in it, img is set to max-width:100%; The picture is very long, which leads to this kind of problem that cannot be laid down below. How will it end?



Thank you for your invitation.

You should adjust your drawing or the size of your container.

Why? Just think: if the container is not high enough and you want to pave it, you can only stretch and deform it-but is this the result you want?