For an image like:
<a href="http://example.com/files/non ho piu' posto.jpg" title="non ho piu' posto.jpg" class="thickbox" rel="img_1212"><img src="http://example.com/files/non ho piu' posto.jpg" class="img" alt="non ho piu' posto.jpg" title="non ho piu' posto.jpg" /></a>
the thickbox displays nothing. Observe that the path contains a '.
I solved this problem by replacing the interchanging the " with ' into the thickbox.js.
$("#TB_window").append('<a href="" id="TB_ImageOff" title="Close"><img id="TB_Image" src="'+url+'" width="'+imageWidth+'" height="'+imageHeight+'" alt="'+caption+'"/></a>' + '<div id="TB_caption">'+caption+'<div id="TB_secondLine">' + TB_imageCount + TB_PrevHTML + TB_NextHTML + '</div></div><div id="TB_closeWindow"><a href="#" id="TB_closeWindowButton" title="Close">close</a></div>');
Maybe this is not the best solution and place where submit this bug. :)
Comments
Comment #1
frjo commented