title: How to wrap images in a div in the_content();?
body: <p>So then you add media to a post in the wordpress theme, such as images,
  it always goes this way: </p>
  
  <pre><code>&lt;img src="http://localhost:8888/example/wp-content/uploads/example.jpg" alt="leaf graphic" title="leaf graphic" class="alignright size-medium wp-image-3109" height="25" width="30"/&gt;
  </code></pre>
  
  <p>But my goal is to wrap any image which i add to a post in a div, like this:</p>
  
  <pre><code>&lt;div class="card"&gt;
  &lt;img class="img-fluid" src="http://localhost:8888/example/wp-content/uploads/example.jpg" alt="" /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Are there any ways to do this ?</p>