image center in containing block bootstrap 4 code example
Example 1: bootstrap class align center image
class="mx-auto d-block"
Example 2: image responsive bootstrap 4
<img class="img-fluid" src="" alt=""> //This will make your image responsive
class="mx-auto d-block"
<img class="img-fluid" src="" alt=""> //This will make your image responsive