WOW – that was a super speedy reply. Thank you 🙂
This has worked perfectly. My next issue is that the gallery will not open when you click the link – just the image. I have changed the id and added the code (removed the first >tag here so it shows):-