I was surfing about the web to a couple of sites that I visit, and it went to http://linuxbrit.co.uk which had a cool feature on his wordpress site. He had just linked in a cool js image viewer called lightbox js which is really great.
So basically I wanted. So I hacked up my theme a little and without changing any of the image code I added to my themes template.php and just included the code, and it all worked.
Take a look at my image galleries and click on the thumbnail. It just pops up without leaving the page.