Insert link in FancyBox popup image

2

How to insert a link in the image that pops up in fancybox after the click?

HTML code snippet:

<li> 
  <a class="fancybox" rel="group" href="imagem_grande.jpg" title="nome_produto">
    <img src="imagem_pequena.jpg" alt="Imagem Pequena." />
  </a>
</li>
    
asked by anonymous 23.03.2015 / 17:44

1 answer

1

It was not quite what I wanted, but I was able to insert the link inside the title, see:

title="<a href="www.exemplo.com" target="_blank">Nome do Produto</a>"

I just did not like it because when you hover over the image, it returns all the contents of the title, which was not very nice.

    
23.03.2015 / 20:29