使用多图,图片不能放大,想放大,有办法吗?
{% gp 1-3 %}
图1
图2
图3
{% endgp %}
+1
@eurusd 你这个功能能用?我这里简直没法用,我想多图并排都没法!!你是在post上面用的吗?
@eurusd dont understand u, write in English if not solved. If solved, close it please. Thank's!
@eurusd 你好
在/next/source/js/src/utils.js中修改代码如下
wrapImageWithFancyBox: function() {
$('.content img')
.not('[hidden]')
// .not('.group-picture img, .post-gallery img')
.each(function() {
注意那两个斜杠,就是把那一句注释掉,问题就解决了~
@Maples7 如上
@chenmo1996 thank you very much :smiley:
@xuecat
themes\next\source\css\_common\components\tags\group-pictures.styl
中的样式为改为
.page-post-detail .post-body .group-picture-column {
// float: none;
margin-top: 10px;
// width: auto !important;
img { margin: 0 auto; }
}
Will be fixed: https://github.com/theme-next/hexo-theme-next/pull/667
Most helpful comment
@eurusd 你好
在
/next/source/js/src/utils.js中修改代码如下注意那两个斜杠,就是把那一句注释掉,问题就解决了~