Image to appear in div when clicked

Permabanned
Joined
22 Apr 2007
Posts
1,805
gents,

I have a thumbnail image that when clicked shows the larger image

The code for which is this

Code:
<a href="images/gallery/bracelet1.jpg"><img src="images/gallery/bracelet1-thumb.jpg" width="140px" height="126px" alt="" 

class="profilephoto" /></a>

Now when clicked, a new blank page loads with the image in

What do I need to do to open the image up so that it sits in the div, or at least adopts some CSS?

EDIT: apart from a hreffing to a html page with the img in the div I mean.
 
Last edited:
Back
Top Bottom