I have a 'box' where images are loaded, all the boxes have the same size, this size is:
width:700px;
height:575px
But not all images have the same size, that is, their sizes vary and can reach the maximum measures 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 size of the image will always be variable, how can I leave these images centered vertically and horizontally inside the box where it was loaded?