Oh, never mind, i see the problem. Your a tags are empty:
<li><a href="path/image.jpg" title="a title"></a></li>
you need to have some link text between the a tags:
<li><a href="path/image.jpg" title="a title">Click Me</a></li>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.