looking at the code below, i can show an image with a smaller size

<a href="images/image.jpg"><img src="images/image.jpg" width="300" height="214" border="0"></a>

but what if i want the href link to show the image with a smaller size as well. so lets say the original image.jpg is 1500x1200 and in the link i want to show it 800x600.

is there anyway to do something like this:

<a href="images/image.jpg" width="800" height="600"><img src="images/image.jpg" width="300" height="214" border="0"></a>
Edit
Report