How to open image href on a aspx page
<p>When the thumbnail is clicked I would like the full size image to open on http//example.com/image.aspx instead of http//example.com/images/image.jpeg without creating an individual page for each image and editing each href. I know that this is possible with php but I was wondering if there was some way of doing it with javascript, jquery, asp.net, or...? If it is possible, (I maybe stretching it here), would it also be possible to run this on the master page for all thumbs? The thumbs have no class or id. Right now they are in straight html markup. I have searched for days and have found nothing that would even get me started on the correct path with the exception of php. I don't need the target blank if I could implement this because this would allow me to open the image on a aspx content page with full site navigation. Here is the code as of right now.</p>

<pre><code>&lt;a target="_blank" href="image.jpg/jpeg"&gt;&lt;img alt="something" src="pictures/image_small.jpg/jpeg"&gt;&lt;/a&gt;
</code></pre>

<p>A page from our site is <a href="http://backalleypics.com/PeoplesPages/Sa~Se/SarahShahiPages/SarahShahi1.aspx" rel="nofollow">http://backalleypics.com/PeoplesPages/Sa~Se/SarahShahiPages/SarahShahi1.aspx</a>. An example of the php type is <a href="http://www.theplace2.ru/photos/gallery.php?id=47" rel="nofollow">http://www.theplace2.ru/photos/gallery.php?id=47</a> I really don't want a gallery, pop up window, or light box. The purpose is to get ad views for each image click and have navigation on the page.</p>
