<?php if ($val['attachs']) { ?> <div class="aw-comment-upload-img-list"> <?php foreach ($val['attachs'] AS $attach) { ?> <?php if ($attach['is_image'] AND !in_array($attach['id'], $val['insert_attach_ids'])) { ?> <a href="<?php echo $attach['attachment']; ?>" target="_blank" data-fancybox-group="thumb" rel="lightbox" ><img src="<?php echo $attach['attachment']; ?>" class="img-polaroid" height="130" width="155" alt="<?php echo $attach['attach_name']; ?>" /></a> <?php } ?> <?php } ?> </div> <?php } ?>另外求教,怎么只调用三张图片? 更新:调用图片的临时方法
这家伙很懒,还没有设置简介