Forum Moderators: goodroi
<div class="Picture">
<a id="castle" href="art/castle.jpg" onclick="return hs.expand(this)">
<img class="tnail" src="art/castle-th.jpg" title="Castle" alt="some suitable alt text"/></a><div class='highslide-caption'>a caption that sits beneath the picture describing it</div>
<h2>Castle</h2>
</div> .imag { width: 200px; }
.large:focus ~ .imag img {
width: 500px;
}
.small:focus ~ .imag img {
width: 200px;
}
<span class="large" tabindex="0">Enlarge</span>
<span class="small" tabindex="0">Thumbnail</span>
<div class="imag" ><img class="imag" src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/77/Google_Images_2015_logo.svg/1200px-Google_Images_2015_logo.svg.png"></div>What it does is first showing the picture in thumbnail size. Clicking on the Enlarge text will enlarge the image. Clicking on Thumbnail will bring it back to the original size. If this uses an image set, chances are pretty high the larger version of the image will also be seen and indexed by Google.
<a id="castle" href="art/castle.jpg" onclick="return hs.expand(this)">