Apps and development tools - Basic App Kit

AppKit Modules

<tml:include ref="form-single-image-attachment@base">

Since version 3.0.0

Description :

Manage a single image attachment inside the document.

Use this module inside your form.tml if you want your document to carry one single image file as f. e. a profile image or a logo image.

Only images are allowed for upload and on upload any existing attachments will be replaces by the new one.

Options:

placeholder:

A text to be displayed if no image file is uploaded.

other options:

see form-attachments@base

Examples:

<tml:[form-single-image-attachment@base] o_label="Profilimage" o_placeholder="drop your profile image here"/>