Here is the current code snippet:
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-sm bg-primary">
One
</div>
<div class="col-sm bg-warning">
Two
</div>
<div class="col-sm bg-light text-right">
<img src="https://proxy.duckduckgo.com/iu/?u=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F0%2F0d%2FRed_blue_circle.svg%2F1200px-Red_blue_circle.svg.png&f=1" style="max-height: 18px; width: 25px">
</div>
</div>
<div class="row">
<div class="col-sm bg-primary">
One
</div>
<div class="col-sm bg-warning">
Two
</div>
<div class="col-sm bg-light text-right">
<img src="https://proxy.duckduckgo.com/iu/?u=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F0%2F0d%2FRed_blue_circle.svg%2F1200px-Red_blue_circle.svg.png&f=1" style="max-height: 18px; width: auto">
</div>
</div>
</div>
The current layout displays the images aligned to the right of the 3rd column. However, the requirement is to align the images relative to their center like shown in this example: https://i.sstatic.net/r7eLq.png