我在我的内容中有图像。当我点击图片时,我需要在jquery弹出窗口中打开它。为img标签初始化lighbox
我的图像结构为:
<img height="213" width="480" src="http://www.test.com/sites/default/files/styles/large/public/avatar-configure.png" typeof="foaf:Image" class="media-image" alt="">
我不能改变图像的结构。有没有任何jQuery插件支持这种类型的功能?请帮帮我。
您是否使用特定的灯箱库? – tomahaug
'我需要在jQuery弹出窗口中打开它。“这是什么意思。它是'window.open()'有问题吗? – Jai