title: Image rotation when you hover over it
body: <p>I have the following script where the user is supposed to hover over the image and then that image is rotated. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$("#alcazar-image").rotate({
    bind:
    {
      mouseover : function() {
      $(this).rotate({animateTo:180})
    },
    mouseout : function() {
      $(this).rotate({animateTo:0})
      }
    }
  
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://jqueryrotate.com/js/jQueryRotateCompressed.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" rel="stylesheet"/&gt;
  &lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/&gt;
  &lt;div class="col-xs-12 col-sm-9 col-md-9 col-lg-9 center-block" id="alcazar-row"&gt;
            &lt;div class="media"&gt;
              &lt;div class="media-left media-middle"&gt;
                  &lt;a href="#"&gt;
                      &lt;img src="http://www.theo-android.co.uk/github-images/alcazar.png" class="media-object img-thumbnail" id="alcazar-image" alt="alcazar"&gt;
                  &lt;/a&gt;
              &lt;/div&gt;
              &lt;div class="media-body"&gt;
                  &lt;div class="media-heading"&gt;&lt;h3&gt;Alcazar Park&lt;/h3&gt;&lt;/div&gt;
                  &lt;p style="font-size:20px;"&gt;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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/p&gt;
                  &lt;p style="text-align:left"&gt;&lt;a class="btn btn-primary btn-xs" data-toggle="modal" data-target="#alcazarModal"&gt; More&amp;raquo;&lt;/a&gt;&lt;/p&gt;   
              &lt;/div&gt;
                
              &lt;/div&gt;  
      &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>However,the hovering effect doesn't work. Any ideas?</p>
  
  <p>Thanks,</p>
  
  <p>Theo.</p>