How to control the size of an uploaded image

Applies to Infiniti v8.3 or later
 
 

Infiniti allows  user to specify the size of an uploaded image that is to be inserted into a document. This image size can be defined by a range of measurement units,  such as pixels, inches, points, etc.

Image size can be configured via the ‘Properties’ tab of an image that has been mapped to the 'Answer' of a 'Content Library' question.

See the screen shot below.


The attributes that help to specify the size of an uploaded image are described in the table below.

 

Property

Description/Examples

Max Height

The value assigned to this property is the maximum height.

Max Width

The value assigned to this property is the maximum width.

Units

This property provides a range of units.

 

 

 

Stretch to Fit

 

Ticking ‘Stretch to Fit’ checkbox stretches the image to fit the max height and max width value.

Note: If ‘Max Height’ and ‘Max Width’ values are greater than the original size of the image then the resulting image will take the original image’s size dimensions unless ‘Stretch to Fit’ is ticked.

However, If ‘Max Height’ and ‘Max Width’ values are less than the original size of the image, the resulting image will accept the given size dimensions, even if the stretch to fit check box is not ticked. Thus the resulting image size will get reduced from its original size.

Alternative Text

 

The value provided to this property will appear as an alternative text in the generated document.


Also user can retrieve upload file name using '[q1.Filename]' syntax. where '[q1]' is the name of content library question. '[q1.Filename]' syntax will return the name of uploaded content file on evaluation.

 

Related Articles

 

 

Keywords

 

control size upload image inserted measurement answer