PHP is executed at the server, so that send-mail is going to send you an email every time someone loads that page and not when someone clicks on your button.
You should link a PHP page with an AJAX request, which fires every time that image is clicked if you want that email only then.