center image boostrap 4 code example
Example 1: bootstrap class align center image
class="mx-auto d-block"
Example 2: img-fluid bootstrap
<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