You are here

README.txt in Textimage 6.2

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.

This module requires clean URLs be enabled. Without clean URL support Textimage
is unable to cache images, which can cause serious performance problems.


Textimage was written by Fabiano Sant'Ana (wundo).
- http://wundo.net

Maintained by Stuart Clark (Deciphered).
- http://stuar.tc/lark


Features
------------

* Support for TrueType fonts and OpenType fonts.
* Rotate your text at any angle.
* 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.
* Support for non-alphanumeric characters.


Requirements
------------

* GD2
* FreeType


Install instructions
------------

1. Make sure your server supports the needed PHP extensions, if you're in a
   shared environment you may need help from your host.
   
2. Upload fonts files you want to use for Textimages to the 'fonts' directory
   inside textimage directory. If you want you can change this directory to 
   anywhere accessible by Drupal


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.


Recommended
------------

* Vertical Tabs - http://drupal.org/project/vertical_tabs

  When the Vertical Tabs module is enabled you will receive a modified user
  interface when creating and editing Textimage presets.


Updating
------------

* Always run update.php on your Drupal site after updating Textimage.
* Note: Due to certain changes in the Textimage module, some of your presets may
  require alterations after updating from 1.x to 2.x.

File

README.txt
View source
  1. Textimage adds text to image functionality using GD2 and Freetype, enabling
  2. users to create crisp images on the fly for use as theme objects, headings or
  3. limitless other possibilities.
  4. This module requires clean URLs be enabled. Without clean URL support Textimage
  5. is unable to cache images, which can cause serious performance problems.
  6. Textimage was written by Fabiano Sant'Ana (wundo).
  7. - http://wundo.net
  8. Maintained by Stuart Clark (Deciphered).
  9. - http://stuar.tc/lark
  10. Features
  11. ------------
  12. * Support for TrueType fonts and OpenType fonts.
  13. * Rotate your text at any angle.
  14. * Configurable opacity in text color.
  15. * Backgrounds:
  16. * Define a color or simply have a transparent background.
  17. * Use a pre-made image to integrate directly with your theme.
  18. * Use another Textimage preset to achieve a multi-layered image (see image above).
  19. * CCK and Views formatter integration.
  20. * Support for non-alphanumeric characters.
  21. Requirements
  22. ------------
  23. * GD2
  24. * FreeType
  25. Install instructions
  26. ------------
  27. 1. Make sure your server supports the needed PHP extensions, if you're in a
  28. shared environment you may need help from your host.
  29. 2. Upload fonts files you want to use for Textimages to the 'fonts' directory
  30. inside textimage directory. If you want you can change this directory to
  31. anywhere accessible by Drupal
  32. Usage
  33. ------------
  34. 1. via theme_textimage_image():
  35. Use the theme_textimage_image() function at the theme/module level with the
  36. following format:
  37. theme('textimage_image', 'Preset', 'Text', array('Additional', 'Text'),
  38. 'extension', 'alt', 'title')
  39. 2. via CCK/Views formatter:
  40. Select a Textimage preset in a text field display options.
  41. 3. via URL:
  42. Create an image with the URL in following format:
  43. /[files directory]/textimages/[Preset](/Additional/Text)/[Text].[extension]
  44. Note: This method can only be used by users with the 'create textimages'
  45. permission. This is to prevent Anonymous users from creating random images.
  46. If you need dynamically created Textimages, it is strongly advised you use
  47. one of the methods detailed above.
  48. Recommended
  49. ------------
  50. * Vertical Tabs - http://drupal.org/project/vertical_tabs
  51. When the Vertical Tabs module is enabled you will receive a modified user
  52. interface when creating and editing Textimage presets.
  53. Updating
  54. ------------
  55. * Always run update.php on your Drupal site after updating Textimage.
  56. * Note: Due to certain changes in the Textimage module, some of your presets may
  57. require alterations after updating from 1.x to 2.x.