0
I have a 'box' where images are loaded, in all loads the box has the same size, this size is:
width:700px;
height:575px
However, not all images have the same size, that is, their sizes vary being able to reach the maximum measurements of the box to which it is loaded.
Example:
<div style="width:700px; height:575px">
<img src="IMAGEM A SER CARREGADA" style="max-width:700px; max-height:575px">
</div>
Knowing then that the image size will always be variable, as I can leave these images centered vertically and horizontally inside the box where it was loaded?