本插件基于fancybox开发,在帖子页面(thread)和用户页面(user)自动加载。
当页面中有图片时,打开图片自动使用灯箱效果。
基于原帖更新到1.1,文件本地化。
原帖里的附件就不更新了,放在这里赚点金币。
用上了,灰常不错~!!!!
可以加一段css
img.fancybox-image, img.img-responsive, img .lazy{cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAC+lBMVEUAAAB2o9J3o9Junc/h6/V1otFtnM51odF1o9Pk7fbb5vPa5vJ0otJzc3Nqms1rm85fgq6lpaXt8vnn7/fh6/aFhYXe6fTV4vHZ5fIsarLW4/HE1+tvnc8vLy90otRzoNFgkslEbaRJc6dTfK70+PugoKBDdbGampra5vMRUJ3u9fzT4fAoY6k4ODjk7/nP3u8rZq2JiYkwaq/K3O9cjcXa5vN/gIC70uqFhYXK3fA3c7jY5PJ/f3/W4/E2cLQ/e75wcHCXu+HY5fKoxuXS4fCbvOB0dHR2dnZQUFBsbGwwMDB9qddxiKJdeZdsbGxWfKycnJyTk5P///9WVlYxYqA/a6JKSkq7u7upqakmXJ40ZaKAgIB3d3dUfK65ubm1tbU0ZqQ1NTWgoKDo8Pf///9SfK9Fda9AQEAuZaaQkJBkZGT///8eWKCLi4vh6vUdWKDY5PGpqamTk5OhoaFDdbIoKCiVlZWLi4vu9v3h6/U4bq/V4vEITZ95eXknZKtJSUkZGRni6/VCeblISEgwMDBLgb9+fn47Ozt2dnaOjo51dXXl7fYtarF5eXm50uxWisXO3u56enqwzOeDqtXp8PdLS0sLCwvY5PLS4PBQh8RZWVnm7vcxMTGLs95Jg8Ps8vh/qthzc3OcvuF3pNPO3e5TisUAAAByn89Efb3E2Otajsh4eHh2dnZNhMFgk8m90ulQh8Q1NTV6enojIyOYudxjY2MDAwM4ODh9fX3///+1trbj4+Knp6egoKCWlpb//vn///b//Pb38+/r6+va2trLysq+vr+Upr+GmraoqKj69/Lw7+7f3t68vLyurq6bm5uQkJD7+fbw7erf4eTEytTP0dO0v865wc3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AWto3JaERFQlaHBEydy/EhMwJ2Zauezq2FNRoikSFPw4iRsjoQRQIhKLC7yuNFbeH1VcLGkSCpgBjRfYs4RtNUcN95RrEGEu11Rq5DAYiRtnd/BQewHjEOKeb+bKvjshfuLFiSQbyb34C7cbuaJMZHbsAAAAASUVORK5CYII='), auto;}
juse 可以加一段css img.fancybox-image, img.img-responsive, img .lazy{cursor: url('data:image/png;base64,i ...
Tillreetree NICE CURSOR