I've made a lot of changes to try and get this working the way I want it to... clicking the image inserts the thumbnail into the post which then links to the gallery page for it. Oh, and I changed the number of posts to 12 in rows of 3.
It 'works' but it doesn't. When I try to insert an image I get a JS error 'object expected'. I know PHP basically but I fall down on JS... Will post my version if anyone thinks they can fix it?
Ollie