Skip to main content Skip to complementary content

Image_Size

This clause is used with the Info prefix or the Bundle prefix to resize images from a database management system to fit in the fields.

Syntax:

Bundle [Image_Size(width,height )] ( loadstatement | selectstatement )

Arguments:  

Image_Size arguments
Argument Description
width The width of the image specified in pixels.
height The height of the image specified in pixels.

Example:  

A thumbnail for each image in the folder MyPictures will be stored in the QlikView document. The images keep their width and height ratio.

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

Learn more

 

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com