Add the code above to your theme's functions.php
file.
Alter the size of $containerLG
if you have changed the BS 3 grid. you can then call the images in you themes like so:
<?php
the_post_thumbnail( 'col-lg-3');
?>
That will call an image that's maxed at a width of 1/4 of the full container width.