dany994,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style>
.image{
margin:100px 100px;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="http://beneposto.pl/jqueryrotate/js/jQueryRotateCompressed.js"></script>
<script>
$(function() {
$(".image").each(function(indx, el) {
var value = 0;
$(el).on({
click: function() {
value += 90;
$(el).rotate({
animateTo: value
})
}
})
})
});
</script>
</head>
<body>
<img src="https://www.google.com/images/srpr/logo3w.png" class="image">
<img src="https://www.google.com/images/srpr/logo3w.png" class="image">
<img src="https://www.google.com/images/srpr/logo3w.png" class="image">
</body>
</html>