Salta al contenuto principale

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 the image link

As you can see 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 found is placing the class colorbox inside 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

Aggiungi un commento

Comment

  • Elementi HTML permessi: <br> <p> <code class="language-*"> <pre>
  • Linee e paragrafi vanno a capo automaticamente.
  • Solo le immagini ospitate su questo sito possono essere utilizzate nel tag <img>.