Edit in JSFiddle

<div class="content-managed-image">
  <img src="http://fpoimg.com/1265x1265" alt="" />
  <div class="inner-panel">
    <h1>My Header</h1>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
  </div>
</div>

<div class="content-managed-bgimage" style="background-image: url(http://fpoimg.com/1265x1265)">
  <div class="inner-panel">
    <h1>My Header</h1>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
  </div>
</div>
.content-managed-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.content-managed-image img {
  width: 100%;
}

.content-managed-image .inner-panel {
  position: absolute;
  top: 0;
  padding: 10px;
}

.content-managed-bgimage {
  width: 100%;
  background-size: cover;
  background-position: center;
}

.content-managed-bgimage .inner-panel {
  padding: 10px;
}