Skip to main content
FME Hub user alexbiz just uploaded a new transformer to the FME Hub.

BRGImage converts any incoming FME feature into a BRGComponent that contains the HTML + CSS needed to add an image-centric section to a Better Report Generator (or a BRGGroup). It is designed as a lightweight, highly configurable alternative to FME’s built-in HTMLReportGenerator.

2 Input & Output Ports

Port

Cardinality

Description

IN

0..∞

Any geometry or non-geometry feature you want to document.

OUT

0..∞

One feature per incoming record (or per group; see Group By). Each carries:• brg_html – the generated fragment• brg_css – styles scoped to the fragment• All original attributes (unchanged)

Tip Connect the OUT port directly to a BetterReportGenerator or to a BRGGroup chain to build multi-section reports.

3 Parameters

Parameter

Type / Options

What it does

Title

String

Heading shown above (or beside) the image section.

Description

String

Free-form text (Markdown is supported) that accompanies the image.

Image Source

URL | File

Tell the transformer where to fetch the image.

Image File / URL

String

• If Image Source = File: absolute or workspace-relative path.• If Image Source = URL: any publicly reachable URL.

Image Position

Side | Bottom

• Side: image floats left, description on the right (responsive stack on small screens).• Bottom: image sits above the description.

Card Type

No Card | Static Card | Collapsible Card | Collapsed Card

Wraps the content in an optional “card” container:• No Card: raw content, no border/shadow.• Static: always open, styled card.• Collapsible: starts open; user can toggle.• Collapsed: starts closed; user expands to view.

Order

Integer

Sorting key used by BetterReportGenerator or BRGGroup. Lower numbers appear earlier.

Group By

Attribute name

If set, incoming features sharing the same value are grouped; the first feature in each group carries the HTML for the whole group. Useful when you have many rows that refer to the same image or wish to aggregate by category.



Would you like to know more? Click here to find out more details!
Be the first to reply!