html点小图看大图最快捷的方法
方法一:
<td> <a href="{$vo.show_img}" target="_blank"><img style="width: 40px;height: 40px" src="{$vo.show_img}" ></a></td>
把href和src里的地址换成图片地址就可以实现
注:
href和src里的地址必须相同
方法二:
<notempty name="vo.photo"> <li> <img src="{$vo.photo}" style="height:36px;width: 36px;" onclick="parent.imagePreviewDialog(this.src);"> </li> </notempty>
人生得意须尽欢,莫使金樽空对月.