我在相册中使用了lightgallery。问题是当点击弹出窗口打开的照片时,它正试图获取相册中的标记文本。我怎么能阻止它?
<div class="lightgallery">
<a href="<?php echo HTTP_RESIM.'products/'.$product['image']; ?>">
<img src="<?php echo HTTP_RESIM.'products/'.$product['image']; ?>" ></a>
<h5><?php echo $product['name']; ?></h5>
<?php
$query = "SELECT * FROM product_image WHERE product_id = '".$product['id']."' AND status = '1' ORDER BY sort_order";
$productImages = mysql_query($query);
while($productImage = mysql_fetch_array($productImages)){
?>
<a href="<?php echo HTTP_RESIM.'product_image/'.$productImage['image']; ?>">
<img src="<?php echo HTTP_RESIM.'product_image/'.$productImage['image']; ?>" >
</a>
<?php
}
?>
</div>
<?php } ?>
<script type="text/javascript">
$(document).ready(function() {
$(".lightgallery").lightGallery();
});
</script>