Şöyle bir şey denemedim de pek kullanıcı dostu olmadı
<style>
.gizlee{
display: none;
}
</style>
<button id="butondeneme">Buton</div>
<img src="https://media1.giphy.com/media/Y0bTs4783RaAPUWCSX/giphy.gif?cid=ecf05e471omcy4mnk4cqa5jbkpww9zvaoz5dpv6ljbcdis48&rid=giphy.gif&ct=g" class="gizlee" id="gifornek">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>
$.fn.center = function () {
this.css("position","absolute");
this.css("top", Math.max(0, (($(window).height() - $(this).outerHeight()) / 2) + $(window).scrollTop()) + "px");
this.css("left", Math.max(0, (($(window).width() - $(this).outerWidth()) / 2) + $(window).scrollLeft()) + "px");
return this;
}
$("#butondeneme").on("click", function(){
$("#gifornek").fadeIn().center();
setTimeout(function(){
$("#gifornek").fadeOut()
}, 1000);
});
</script>