Site Overlay

How to zoom in & zoom out using jquery

<img src="https://www.amideveloper.com/wp-content/themes/amideveloper/mithilesh.jpg" alt="mithilesh kumar" id="amideveloper">
<script src="https://code.jquery.com/jquery-1.8.3.js"></script>
<script>
$(document).ready(function(){
  $(function(){
  $("#amideveloper").css("cursor", "pointer");
  $('#amideveloper').toggle(
   function() { $(this).animate({width: "200px"}, 1000)},
   function() { $(this).animate({width: "140px"}, 1000); }
  );
  });  
});
</script>