# Image\_Size

此子句与 Info 或 Bundle 前缀一同使用，用以调整数据库管理系统中的图片大小，使其能够适合于字段。

语法：

Bundle [Image\_Size(width,height )] ( loadstatement | selectstatement )

参数：

Image\_Size 参数

| 参数 | 说明 |
| --- | --- |
| width | 用像素指定的图像宽度。 |
| height | 用像素指定的图像高度。 |

示例：

在文件夹 MyPictures 中，每个图片的缩略图会存储在 QlikView 文档中。这些图片会保持其宽高比。

`for each vBundleExt in 'jpg', 'jpeg', 'jpe', 'png', 'jif', 'jfi'` `for each vBundleFoundFile in filelist( GetFolderPath('MyPictures') & '\*.'& vBundleExt )` `BundleFileList:` `BUNDLE IMAGE_SIZE(20, 20) Info Load FileLongName, FileLongName;` `Load @1:n as FileLongName Inline "$(vBundleFoundFile)"   (fix, no labels);` `Next vBundleFoundFile` `Next vBundleExt`

## 了解详情

* [Info](https://help.qlik.com/zh-CN/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptPrefixes/Info.htm)
* [Bundle](https://help.qlik.com/zh-CN/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptPrefixes/Bundle.htm)
* 