什么是使用 jquery lightbox 的好 WordPress 画廊插件?
我正在使用 WP 相册,我喜欢它的相册,但我在尝试让它与灯箱一起使用时遇到了麻烦。我已经手动放入灯箱,但它不起作用,然后我将灯箱作为插件,当我单击相册中的其中一张图像时,它不显示。
这就是相册中的图像的样子,
<div class="thumbs">
<ul>
<li>
<a class="img" rel="lightbox[26]" href="http://localhost:8888/wordpress/photos/?album=1&photo=1"><img alt="*" src="http://localhost:8888/wordpress/wp-content/uploads/wppa/thumbs/1.jpg"></a>
</li>
<li>
<a class="img" rel="lightbox[26]" href="http://localhost:8888/wordpress/photos/?album=1&photo=1"><img alt="*" src="http://localhost:8888/wordpress/wp-content/uploads/wppa/thumbs/1.jpg"></a>
</li>
<li>
<a class="img" rel="lightbox[26]" href="http://localhost:8888/wordpress/photos/?album=1&photo=1"><img alt="*" src="http://localhost:8888/wordpress/wp-content/uploads/wppa/thumbs/1.jpg"></a>
</li>
</ul>
<div style="clear: both;">
</div>
我注意到问题出在 http ://localhost:8888/wordpress/photos/?album=1&photo=1 该网址中没有图像。问题是,如果你们中有人知道这个插件,我怎样才能显示图像网址而不是那个网址?它使用的函数是this
<?php wppa_photo_page_url(); ?>
i am using WP Photo Album and i like how it has albums but i am having trouble trying to make it work with lightbox. i've manually put lightbox in and it didnt work then i put lightbox as a plugin and when i click on one of the images in the album it doesnt show.
this is what the images in the album look like
<div class="thumbs">
<ul>
<li>
<a class="img" rel="lightbox[26]" href="http://localhost:8888/wordpress/photos/?album=1&photo=1"><img alt="*" src="http://localhost:8888/wordpress/wp-content/uploads/wppa/thumbs/1.jpg"></a>
</li>
<li>
<a class="img" rel="lightbox[26]" href="http://localhost:8888/wordpress/photos/?album=1&photo=1"><img alt="*" src="http://localhost:8888/wordpress/wp-content/uploads/wppa/thumbs/1.jpg"></a>
</li>
<li>
<a class="img" rel="lightbox[26]" href="http://localhost:8888/wordpress/photos/?album=1&photo=1"><img alt="*" src="http://localhost:8888/wordpress/wp-content/uploads/wppa/thumbs/1.jpg"></a>
</li>
</ul>
<div style="clear: both;">
</div>
i noticed the problem is at http://localhost:8888/wordpress/photos/?album=1&photo=1 the url doesnt have an image in it. thing is if any of you know this plugin how can i show the image url instead of that url? the function that its using is this
<?php wppa_photo_page_url(); ?>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个很好且简单的方法,并且使用 Colorbox,在我看来它比 Lightbox 好一点
http:// wordpress.org/extend/plugins/jquery-colorbox/
This is a nice and easy one and uses Colorbox which is a little nicer than Lightbox imo
http://wordpress.org/extend/plugins/jquery-colorbox/