Using a text link link the following works perfectly to launch a colorbox with the iframe I want
<a class="colorbox-load" href="node/1?width=500&height=500&iframe=true">stuff</a>

My problem is that I want to have an image to click instead of text, but if I replace the text with an img tag the image is unclickable. How should I be doing this?


bshaddad’s picture


Try this:

<a href="/node/1?width=500&height=500&iframe=true" class="colorbox-load init-colorbox-load-processed-processed cboxElement">
	<img typeof="foaf:Image" src="/path_to_your_image" alt="">