Skip to main content

Colorbox Jquery gallery, load image link

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: place colorbox in <div>

The solution I've found is placing colorbox class in the div as this example:

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

Result:

Company logo big

Add new comment

Comment

  • Allowed HTML tags: <br> <p> <code class="language-*"> <pre>
  • Lines and paragraphs break automatically.
  • Only images hosted on this site may be used in <img> tags.