I am using a div tag in code as shown below:
It is safe to assume that by fitting you mean covering all of the width. This is because
col-sm-6 or col-md-6 or col-lg-4.Use for fitting the column. This will fit your image width-wise into the column and will automatically modify the height (keeping the aspect ratio in mind), so you do not have to worry about image getting illogically resized.