JSFiddle - React, Tailwind, and code Playground

HTML

<table class="profimg">
    <tr><td height="50" width="50"><img id="success" src="http://cdn4.iconfinder.com/data/icons/simplicio/128x128/notification_done.png" style="display:none" height="50" width="50"></td></tr>
    <tr>
    <td align="center"><img class="profimg" src="" alt="Administratorasdf" height="100" width="100"/></td>
</tr>
<tr>
    <td id="rad" align="center"><input type='radio' title='Publicly Visible' name='img_pub' onclick="upimg1()" /> <input type='radio' title='Visible Only To Users' value='UsersOnly' name='img_pub' onclick="upimg2()" /> <input type='radio' title='Visible Only To You' value='Hide' name='img_pub' onclick="upimg3()" checked='checked'/></td>
</tr>
</table>

JavaScript

$("#rad").click(function () {
     $("#success").fadeIn(500, function() {
        $(this).delay(1000).fadeOut(1000); 
     });
  });