Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Dynamic Image Generator

Security covered Under active development 4 sites

This module allows you to dynamically generate images within Drupal using HTML and CSS templates. You can create templates with Twig and Drupal tokens to style images based on content and then assign these templates to image fields on your content types.

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.

Drupal 10–11

Ask your assistant about Dynamic Image Generator

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • field Drupal core
  • file Drupal core
  • image Drupal core
  • media Drupal core
  • node Drupal core
  • system Drupal core
  • user Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
Jun 2025
Latest release
4 months ago
Releases (12 mo)
4 ▼ from 5
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.1.2 Stable 10–11 May 27, 2026
1.1.1 Stable 10–11 Dec 29, 2025
1.0.6 Stable 10 Nov 24, 2025
1.0.5 Stable 10 Oct 20, 2025
1.0.4 Stable 10 Jul 2, 2025
1.0.3 Stable 10 Jun 25, 2025
1.0.2 Stable 10 Jun 23, 2025
1.0.1 Stable 10 Jun 23, 2025
1.0.x-dev Dev 10–11 Jun 16, 2025