This might be simpler:




<div class="image-container">
<div class="image"><a href="some.html"><img src="some.jpg" width="400" height="400" alt="something"></a></div>
...