Images library

Images library

In InterFormNG2 you can use these image types: bmp, png, gif, tif, tiff, jpg, jpeg, svg and webp.

 

The images can be referred to in the designer via the image element.

 

You can install/upload the images in the Library via your browser, but you can also refer to a URL of an image (inside the image element) to use dynamic images Finally you can also install the images automatically e.g. via a monitored folder.

 

As for most of the resources you can create folders and subfolders for the images. This is covered in these sections:

 

1.Sub-folders in the Library

2.Create a sub-folder

3.Delete a sub-folder

 

 

Listing images in the Library

From the Library you can see a list of all images. You can in the overview decide, if you want to see simple list with the image names, or if you want to see thumbnails of each image. You can select your preferred view in the upper right corner:

 

NG2TemplatesLibraryViewSelect0001

 

If you select the detail view, then you will see a simple list like this:

 

NG2ImagesLibrary0002

 

- and if you select the thumbnail option, then the view will look like this:

 

NG2ImagesLibrary0003


Automatic Install of images via a monitored folder

Instead of manually installing the images into the Library you can also automatically install image via a monitored folder. Here is an example of a workflow that does that:

 

NG2ImagesLibrary0004

 

The first element is the Read from file, which is setup like below:

 

NG2ImageLibrary0005

 

Here you may notice, that the images that are loaded are expected to have any of the extensions jpg or jpeg in either lower or upper case and that the input type is IMAGE.

 

 

The second element is Save in resources, which saves the image found as an image in the Library:

 

NG2ImageLibrary0006

Here we use the predefined variable, $interform.input.file.onlyname to use the same name as found in the input folder.

 

You can use the List resources workflow component to delete old images.

    • Related Articles

    • Library

      Library : You have access to the Library tab in InterFormNG2, if you are signed on to a tenant: The library is the place to go, if you want to install new (or delete) resources in InterFormNG2. The only alternative are the tenant export and import. ...
    • Library repositories including Github

      Library repositories including Github : InterFormNG2 is not limited to a single repository i.e. a single main folder with sub-folder for each of the object types, that you can store in the Library. It is possible to setup a prioritized list of ...
    • PDF to images XML

      The workflow component, PDF to images XML (of the type, Create document) can be used for converting a single page of a PDF file into an image. A prerequisite is, that the PDF file is loaded into the payload. The component takes a PDF and renders a ...
    • Insert dynamic images found in spooled file

      This section address scenarios where you have an input spooled file in InterFormNG2, which includes spooled file lines, that refers to dynamic images e.g. found via a link. This can e.g. be in spooled files generated for processing in InterForm400 ...
    • Others library

      You can use the others section of the library for other resources e.g. digital certificates, that are used for digitally signing PDF files.