Drupal is a registered trademark of Dries Buytaert

Generate dynamic images from HTML/CSS templates directly within Drupal. This module empowers content creators and site builders to create styled images on the fly using configurable templates mapped to Drupal content.

Features

HTML/CSS + Twig + Drupal Tokens

Create templates using Twig syntax and Drupal tokens (e.g., [node:title], [node:content-type]) within HTML/CSS to generate images dynamically.

Background Image Support

Upload images and reference them in your HTML/CSS template via tokens

Field-Specific Configuration

Assign templates to specific Image or Media image fields on any content type.

Multiple Templates Per Field

You can create multiple templates for the same image field. All active templates will be available in the node edit form. Select your desired template and save the node—an image will be automatically generated using that template and stored in the field.

Image Report

View a report of all dynamic images generated, with filtering by template name, content type, or node.

External Image Generation API

Uses the HTML/CSS to Image API to convert HTML/CSS into images. This API is a required dependency for the module to function.

Activity

Total releases
8
First release
Jun 2025
Latest release
2 months ago
Release cadence
28 days
Stability
88% stable

Release Timeline

Releases

Version Type Release date
1.1.1 Stable Dec 29, 2025
1.0.6 Stable Nov 24, 2025
1.0.5 Stable Oct 20, 2025
1.0.4 Stable Jul 2, 2025
1.0.3 Stable Jun 25, 2025
1.0.2 Stable Jun 23, 2025
1.0.1 Stable Jun 23, 2025
1.0.x-dev Dev Jun 16, 2025