title: How do I implement modal images in Bootstrap?
body: <p>I am making an image gallery with a sorter that uses Bootstrap modal images. I followed the modal documentation, however instead of a button I am using an image</p>
  
  <p>I have recopied the modal form from the documentation and replaced it when needed. I have tested it on several browsers and they all do not work.</p>
  
  <pre><code>      &lt;div class="row"&gt;
          &lt;div class="column abstract"&gt;
            &lt;div class="content"&gt;
              &lt;img src="https://via.placeholder.com/150" alt="" style="width:100%" data-toggle="modal" data-target"#abstractModalOne"&gt;
              &lt;div class="modal fade" id="abstractModalOne" tabindex="-1" role="dialog" aria-labelledby="abstractModalOneLabel" aria-hidden="true"&gt;
                &lt;div class="modal-dialog" role="img"&gt;
                  &lt;div class="modal-content"&gt;
                    &lt;div class="modal-header"&gt;
                      &lt;h5 class="modal-title" id="abstractModalOneLabel"&gt;Sea Lions&lt;/h5&gt;
                      &lt;button type="button" class="close" data-dismiss="modal" aria-label="Close"&gt;
                        &lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;
                      &lt;/button&gt;
                    &lt;/div&gt;
                    &lt;div class="modal-body"&gt;
                      &lt;img src="https://via.placeholder.com/700" alt=""&gt;
                    &lt;/div&gt;
                    &lt;div class="modal-footer"&gt;
                      &lt;button class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
                    &lt;/div&gt;
                  &lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
  </code></pre>
  
  <p>After clicking on the small image, it should open a bigger image in the same tab.</p>