TextImage

Warning
This product has not had a release in over 1 year and may no longer be maintained.
by Atopia last modified Feb 16, 2011 02:10 AM

This Plone product generates images displaying rendered text. It allows a Plone site to display text in any font uploaded into this product, independent of the enduser's browser or fonts installed therein. Using this tool provides more freedom in customising typesetting of a Plone site.

Project Description

TextImage

This Plone product has been developed by Atopia to generate images displaying rendered text. This product allows a Plone site to display text in any font uploaded into this product, independent of the enduser's browser or fonts installed therein. Using this tool provides more freedom in customising typesetting of a Plone site.

The images will be generated by a portal tool in response to a URL like:

                string:${portal_url}/portal_textimage/generate_textimage?text=Atopia.nl&align=left&fontId=FreeSansBold&fontSize=24&fontColor=B3DC20&backgroundColor=FFFFFF&backgroundWidth=128&backgroundHeight=64

Note that all arguments are optional and that color do not have a prefix #. If an argument is omitted, the portal default setting will be used. So use:

                string:${portal_url}/portal_textimage/generate_textimage

to use only default settings.

This product has been developed with ArgoUML, ArchGenXML, custom Plone Archetype and Page Template development.

Installation

Before installing product in the Plone site, make the following requirements have to be fulfilled:

  • Python (>= 2.3.5) installed (preferably from a distribution repository)
  • Zope (>= 2.8.5) installed (preferable from a distribution repository) and create an instance
  • Plone (>= 2.1.2) installed (preferably from a distribution repository), link all its Products in the Zope Products directory and create a site
  • ATColorPickerWidget and install this product in the site
  • FileSystemStorage and install this product in the site

Make sure the unpacked products and links have the correct user, group and rights.

Use the Plone Quick Installer to install this product and the products mentioned above, see Add/Remove Products in Plone Configuration of the Site Setup.

Simply add a font (TTF) to portal_textimage and the H1 in your site will be replaced with images.

Implementations

See the following sites where TextImage is being used succesfully:

Todo

The JavaScript which replaces the default H1 with TextImage image will have to be more intelligent.

Current Release
TextImage 1.0.1

Released Feb 26, 2007 — tested with Plone 2.5.2, Plone 2.1.2, Archetypes 1.4, Archetypes 1.3.6, Zope 2.9, Zope 2.8

Using FileSystemStorage for fonts. Using _at_rename_after_creation for font id.
More about this release…

Download file Get TextImage for all platforms
TextImage-1.0.1.tar.gz
If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.

All Releases

Version Released Description Compatibility Status
1.0.1 Feb 26, 2007 Using FileSystemStorage for fonts. Using _at_rename_after_creation for font id. More about this release…
Plone 2.5.2
Plone 2.1.2
Archetypes 1.4
Archetypes 1.3.6
Zope 2.9
Zope 2.8
final
1.0.0 Feb 12, 2007 Initial public release. More about this release…
Plone 2.5.2
Plone 2.1.2
Archetypes 1.4
Archetypes 1.3.6
Zope 2.9
Zope 2.8
final

Comments (0)