Image Marker Widget
Overview
The Image Marker Widget allows users to interactively mark images with labeled dropdown selections and export the marked images as base64 PNG strings.
Documentation
๐ Image Marker Widget for Mendix
The Image Marker Widget enables users to interactively mark images with dropdown labels and export the annotated results as base64-encoded PNG strings.
Perfect for scenarios like:
-
โ Visual inspections
-
โ Field data annotation
-
โ Quality assurance checks
-
โ Medical image reviews
-
โ UI/UX design feedback
โจ Features
-
๐ท Load multiple images from comma-separated URLs
-
๐ฑ๏ธ Add interactive markers with dropdown labels
-
๐ Navigate through image gallery with Previous/Next controls
-
๐งผ Remove markers with a click
-
๐ Marker positions stored as percentage coordinates
-
๐งพ Export images with markers as base64-encoded PNG strings
๐ง Configuration
PropertyTypeRequiredDescriptionImage List SrcString (Text)โ YesComma-separated image URLs to displayDropdown ValuesString (Text)โ YesComma-separated list of selectable labels for each markerExport Base64 ListString (Text)โ YesAttribute that receives the base64 strings of the marked images after Save
๐งโ๐ป How to Use
-
Drag & drop the widget into your Mendix page
-
Set the Image List Src (e.g., https://example.com/1.png,https://example.com/2.png)
-
Provide Dropdown Values (e.g., Yes,No,N/A)
-
Bind a string attribute to Export Base64 List to collect output
-
Click on the image to place a marker and choose a label
-
Press Save to generate base64 images with all annotations
๐ฆ Output Format
-
The widget outputs a comma-separated string of base64-encoded PNG images in Export Base64 List.
-
Each image reflects the marker positions and selected labels exactly as placed.
๐งช Sample Use Case
Example Input:
-
Image List Src: https://example.com/img1.png, https://example.com/img2.png
-
Dropdown Values: Scratch, Damaged, Recheck
Example Output:
-
Export Base64 List: Two base64-encoded PNG strings (one per image)
โ ๏ธ Limitations
-
Only works with publicly accessible image URLs
-
Exported images are not re-editable once saved
โ Compatibility
-
โ Mendix version 9.0.5 and above
-
โ Supports Web & Responsive layouts