0
我期待整合一个lightbox2图库系统和Slick Flickr的能力,以拉入包含图像信息的RSS源。到目前为止,我已经设置好灯箱并正确显示,但未能显示下一个或上一个按钮以循环浏览图库上的其他图像。Lightbox 2和Flickr - 下一个和上一个按钮在哪里?
这是当前的html。其余的是默认的lightbox2文件的东西。
<div class="album-wrapper">
<?php foreach ($feed->get_items() as $item): ?>
<div class="photoContainer">
<?php
if ($enclosure = $item->get_enclosure()) {
$img = image_from_description($item->get_description());
$full_url = select_image($img, 4);
$thumb_url = select_image($img, 0);
echo '<a href="' . $full_url . '" rel="lightbox" ><img class="photo' . $i . '" src="' . $thumb_url . '" /></a>'."\n";
}
?>
</div>
<?php endforeach; ?>