bootstrap 4 img-fluid center 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