This project is not covered by Drupal’s security advisory policy.
This module generates an image on the fly from parameters.
How to create an image
This feature is available by two ways:
CKEditor
On CKEditor toolbar, click on the ImageGen button, and fill the form to create an image.

The URL
An image could be get from an url like:
site_path/image-gen/{width}/{height}/{bg}/{color}/{text}/{type}
Examples:
site_path/image-gen/600/300/random/random/example/jpgsite_path/image-gen/600/300/FF2200/000000/default/jpg
Features
- If the text is equal to default, the image text displays its dimensions.
- You can set the text & background color to random.
Contribution
- To submit bug reports and feature suggestions, or to track changes:
https://www.drupal.org/project/issues/image_gen
This feature is based on GD library.
INSTALLATION
- Classic installation as other modules. See the documentation:
https://www.drupal.org/docs/8/extending-drupal/installing-contributed-mo...
CONFIGURATION
Image Generator
Go to Configuration » Development » ImageGen to configure the module.
There are default configuration options available:
* Width
* Height
* File extension
* Font
* Background color
* Text color

CKEditor
To have the feature available in CKEditor,
the administrator needs to configure the text formats.
* Go to Configuration » Content authoring » Text formats and editors
* Add the ImageGen button to your toolbar.

| Attachment | Size |
|---|---|
| Ck editor create an image | 40.97 KB |
| form | 17.45 KB |
| ckeditor toolbar | 42.69 KB |
| image generator configuration | 69 KB |
Project information
- Project categories: Content editing experience, Media, Integrations
- Ecosystem: CKEditor 4 - WYSIWYG HTML editor
- Created by yepa on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.





