Up: Component summary Component

HTMLImages

Creates a static list of images to a web page. If menuChoice table is included, the user can choose which images to show

Version 1.0
Bundle tools
Categories HTML
Authors Ville Rantanen (ville.rantanen@helsinki.fi)
Issue tracker View/Report issues
Requires Python
Source files component.xml htmlImages.py
Usage Example with default values

Inputs

Name Type Mandatory Description
in ImageList Mandatory List of images to the site
menuChoices CSV Optional Table of menu choices for generated drop down menus
css TextFile Optional Additional CSS. In omitted, uses internal style.

Outputs

Name Type Description
out HTML HTML page with images

Parameters

Name Type Default Description
choiceCols string "" Comma separated list of names of the columns for dropdown menus.
columns int 4 Images in one row.
convertPdf boolean false Convert PDF images into PNG. Otherwise they are included as links.
getImages boolean true Copy image files in the output folder.
getPdf boolean true Copy PDF files in the output folder.
head string "" Main header
imageCol string "" Name of the column for image file names.
pageWidth int 100 Page width in percents
title string "" Title of the page

Test cases

Test case Parameters IN
in
IN
menuChoices
IN
css
OUT
out
case1 properties in (missing) (missing) out

title=images,
head=image list,
pageWidth=50,
columns=3

case2 properties in menuChoices (missing) out

head=Cats of different color,
choiceCols=Age,Color,
imageCol=Image,
convertPdf=true


Generated 2019-02-08 07:42:17 by Anduril 2.0.0