Textimage adds text to image functionality using GD2 and FreeType, enabling users to create crisp images on the fly for use as theme objects, headings or limitless other possibilities.
Features:
- Support for TrueType fonts and OpenType fonts.
- Rotate text at any angle.
- Automatic text wrapping when using maximum width.
- Configurable opacity in text color.
- Support for non-alphanumeric characters.
- Backgrounds:
- Define a color or simply have a transparent background.
- Use a pre-made background image.
- Chain Textimage effects to achieve a multi-layered image (see image above).
- Content Type field display formatters:
- Support Image and Text fields.
- Provides tokens to retrieve Textimage URIs/URLs to be used e.g. in metatags or other integrations.
Requirements:
- PHP compiled with GD extension and FreeType support.
- Drupal's core Image module.
- The Image Effects module.
Branches and installation
The module *MUST* be installed using Composer, see Download contributed modules and themes using Composer.
Usage:
There are 3 main ways to use Textimage.
- via Content Type field display formatters.
- via the Textimage API and the theme system.
- via direct URL generation - Note: This method can only be used by users with a specific permission that has to be granted. This is to prevent Anonymous users from creating random images. If you need dynamically created Textimages, it is strongly advised you use one of the methods above.
Please refer to each release's README.txt for version specific instructions.
Notes:
- Always check release notes when updating to a new release and follow upgrade instructions if necessary.
Supporting organizations:
Project information
Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues.- Project categories: Administration tools, Media
1,732 sites report using this module
- Created by arnabdotorg on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
5.0.0
released 21 March 2026
Works with Drupal: ^11.3
Install:
Development version: 5.0.x-dev updated 21 Mar 2026 at 14:20 UTC
8.x-4.6
released 14 September 2024
Works with Drupal: ^10.2 | ^11
Install:
Development version: 8.x-4.x-dev updated 8 Jun 2025 at 14:02 UTC

