我试图在theme.json上更改默认的图片库大小,但是结果总是一样的(方形大小的图片像200x200px)。
"imageGallery": { /* For responsiveness and optimization it should the size as it would appear on the widest block */
"width": 295,
"height": 164
}
"gallery": { /* For responsiveness and optimization it should the size as it would appear on the widest block */
"width": 200,
"height": 164
}我使用的新版本的ip 4.4.0,我没有这个pb在旧版本。
那么如何更改默认的图片库图像大小呢?哪个变量是真"imageGallery“还是”图库“?
发布于 2014-12-09 12:11:49
配置基于小部件的名称。v4.x只有“图库”小部件。"imageGallery“是早期版本的剩余物。
此配置定义应该裁剪的图像的大小。尽管如此,有些主题并不关心真实的图像大小。它们强制图像形成特定数量的列。这可以确保图像的宽度(从左到右)。
如果要更改此行为,则需要覆盖主题样式或此小部件的外观。
另一点,当更改此配置时,必须重新安装主题,以便更改才能采取行动。为此,您需要安装不同的主题并重新安装当前的主题。
https://stackoverflow.com/questions/27376051
复制相似问题