Bootstrap offers a set of "utility" classes for this exact purpose, .visible-
and .hidden-
.
To hide/show content based on device width you add the following:
xs
for Extra small devices (Phones <768px)
sm
for Small devices (Tablets ≥ 768px)
md
for Medium devices (Desktops ≥992px)
lg
for Large devices (Desktops ≥1200px)
All of this can be found in the docs
In your case add the class .visible-xs
for the mobile image and .hidden-xs
for the replacement one.