Thursday 08 November 2007 12:43:35 am
[SOLVED] In short i wanted to create google_maps pins in .png format dynamically. So on my way there i stumbled upon an example, http://issues.ez.no/IssueView.php?Id=1689&activeItem=7, in our issue tracker</a> which led me in the right direction. Anyway, in case someone wonders, heres my code for it.
{def $my_gmap_png_filepath= image( 'my_new_image', imagefile( 'path_to_the_background_image' ), array( 'text_layer_on_my_new_image'|texttoimage( 'my_custom_texttoimage_font' ),
hash( 'halign', 'center',
'valign', 'middle',
'y', 6,
'x', 1 ) ) ).filepath}
Kaping!
</major>
----------------------------
ez-version: 3.9.3.
PHP: 4.4.2-1
MYSQL: 4.0.24
|