You are here: Home Plone products Dynamic Imager

Dynamic Imager (1.1.0)

1
by Olha Pelishok last modified 2008-05-29
0.0
0.0
0.0
0.0
Released on 2007-01-30 by Duco Dokter for Plone 2.1 under -- available for All platforms.
Software development stage: stable
DynamicImager is a small product with which you can generate dynamic images given a text. This enables you to rotate text in browsers that do not support that.

Using PIL as a backend, the DynamicImager product can generate dynamic images
based upon a number of parameters. It depends on PIL as well as InstallUtils (another
Goldmund, Wyldebeast & Wunderliebe product).

demo: HERE

  • font (some font that ends with .pil (e.g. helvetica-8.pil)
  • text (the text to print in the image)
  • width (width of the image)
  • height (height of the image)
  • x (start text at coordinate x)
  • y (start text at coordinate y)
  • rotate (rotation of the image in degrees)
  • color (background color)
  • fill (text color)

The font parameter checks the dynamic_imager_properties (in portal_properties) to find
the absolute path to the pil fonts. The DynamicImager product distributes a small
set of free fonts. TTF fonts are not yet working at the moment.

Examples in http://localhost:8080/portal


/dynamicImage?text=default


/dynamicImage?text=a%20dynamic%20image&width=100
DynamicImager width




/dynamicImage?text=a%20dynamic%20image&height=25&width=100&x=5&y=5&rotate=90&color=%23F79421&fill=%23FFFFFF


/dynamicImage?font=helvetica-10.pil&text=a%20dynamic%20image&height=25&width=100&x=5&y=5&rotate=90&color=%23F79421&fill=%23FFFFFF

Document Actions
Powered by Plone