<a href="1.jpg" rel="clearbox[gallery=My Gallery]"... <a href="2.jpg" rel="clearbox[gallery=My Gallery]"...