JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/ui-lightness/jquery-ui.css">
<div class="toggle_block">
    <a href="#"  id="toggle_full"><img src="img/full_icon.jpg" alt="#"/></a>
    <a href="#" id="toggle_thumb"><img src="img/thumbs_icon.jpg" alt="#"/></a>
</div>

CSS

#toggle_full img {
    width: 100px;
    height: 100px;
}

#toggle_thumb img {
    width: 50px;
    height: 50px;
}

JavaScript

$(function() {
    var $elems = $('#toggle_full')
        .hide()
        .add('#toggle_thumb').click(function() {
            $elems.toggle();
    });
});