Textimage

wundo - March 4, 2006 - 02:19
Built with Textimage

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.
  • Backgrounds:
    • Define a color or simply have a transparent background.
    • Use a pre-made image to integrate directly with your theme.
    • Use another Textimage preset to achieve a multi-layered image (see image above).
  • CCK and Views formatter integration:
    • CCK Textfield widget support.
    • Email module widget support.
  • Support for non-alphanumeric characters.

Requirements:

  • GD2
  • FreeType

Recommended modules:

  • Vertical Tabs (dev only)
    When the Vertical Tabs module is enabled you will receive a vastly improved user interface when creating and editing Textimage presets.
    Note: To get Vertical Tabs for Drupal 5, please refer to the following: #296148: Backport to Drupal 5.x
    Note: Vertical Tabs is in core in Drupal 7 so no additional steps need to be taken.

Usage:

  1. via theme_textimage_image():

    Use the theme_textimage_image() function at the theme/module level with the following format:
    theme('textimage_image', 'Preset', 'Text', array('Additional', 'Text'), 'extension', 'alt', 'title')

  2. via CCK/Views formatter:

    Select a Textimage preset in a text field display options.

  3. via URL:

    Create an image with the URL in following format:
    /[files directory]/textimages/[Preset](/Additional/Text)/[Text].[extension]

    Note: This method can only be used by users with the 'create textimages' permission. 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 detailed above.

Tutorials:

Notes:

  • Due to certain changes in the Textimage module, some of your presets may require alterations after updating.
  • Always run update.php on your Drupal site after updating Textimage.

Releases

Official releasesDateSizeLinksStatus
6.x-2.12009-Feb-2037.54 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-2.12009-Feb-2037.6 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
7.x-2.x-dev2009-Jun-0343.31 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
6.x-2.x-dev2009-Jun-0345.01 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-2.x-dev2009-Jun-0345.49 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.