我有一个使用Widgetkit 1.5.5的Joomla 2.5站点。我正试图在我的一篇文章中使用灯箱来展示两张照片。
图像显示该网站,但是当您点击图像时,它会显示图像的放大视图,它只是说“无法加载请求的内容。 请稍后再试。“。
<a title="Title1" href="Server-1-Clean.png" data-lightbox="group:group1;titlePosition:float;transitionIn:fade;transitionOut:fade;"><img src="images/stuff/Server-1-Map-Clean.png" alt="Server-1-Map-Clean" width="650" height="326" /></a>
<a title="Title2" href="Server-1-Grid.png" data-lightbox="group:group1;titlePosition:float;transitionIn:fade;transitionOut:fade;"><img src="images/stuff/Server-1-Map-Grid.png" alt="Server-1-Map-Grid" width="650" height="326" /></a>
答案 0 :(得分:0)
<a title="Title1" href="images/stuff/Server-1-Map-Clean.png" data-lightbox="group:group1;titlePosition:float;transitionIn:fade;transitionOut:fade;"><img src="images/stuff/Server-1-Map-Clean.png" alt="Server-1-Map-Clean" width="650" height="326" /></a>
<a title="Title2" href="images/stuff/Server-1-Map-Grid.png" data-lightbox="group:group1;titlePosition:float;transitionIn:fade;transitionOut:fade;"><img src="images/stuff/Server-1-Map-Grid.png" alt="Server-1-Map-Grid" width="650" height="326" /></a>
href标签不包括整个路径。