Colorbox Jquery gallery, load image link

Colorbox window

I've got some troubles in loading content, from a custom image link in colorbox windows

Placing the class colorbox in image link

As you can se in test, colorbox window can't show the linked full size image of my logo

Colorbox class in image

Solution: placing colorbox in <div>

The solution that I have found is placing colorbox class in the div as this example:

<p><a class="colorbox" href="/imageaddress/colorbox/fullquality.jpg" title="div title">
        <img alt="alt image" src="/pageimage/minified.jpg"
         title="imagetitle" /></a></p>


Company logo big