bootstrap to set image of cover size code example
Example 1: image responsive bootstrap 4
<img class="img-fluid" src="" alt=""> //This will make your image responsive
Example 2: bootstrap profile picture
<img src="..." alt="..." class="img-thumbnail">