Elxis CMS Forum

Extensions => Bots and plugins => Topic started by: acampball on August 25, 2011, 16:02:30

Title: New Text to Image mambot
Post by: acampball on August 25, 2011, 16:02:30
Dynamically generate text images using custom fonts.
Mambot uses GD library and TTFs to generate text images on the fly.
This means that a vistor needn't have the font installed to be able to see the text as intended.

Using the text2image:
1. {text2image}Same text{/text2image}
2. {text2image width=100 height=100 fontname=times fontsize=12 fontcolor=000000 bgcolor=FFFFFF shadow=1 angle=90}Same text{/text2image}


Upload on EDC.
Title: Re: New Text to Image mambot
Post by: wbread on August 27, 2011, 10:31:20
(http://runsite.ru/tmpr/e9acdf024c1d8ab88bc01f89978cba95.png)
 ???
Title: Re: New Text to Image mambot
Post by: acampball on August 28, 2011, 20:02:13
HTML tag is not supported
Title: Re: New Text to Image mambot
Post by: wbread on August 28, 2011, 21:26:09
how to make the text not the whole length of the page, such as the default size?
(http://runsite.ru/tmpr/f11d92bd5ab1b46163744f6ee21ab34a.png)
Title: Re: New Text to Image mambot
Post by: acampball on August 29, 2011, 07:16:30
use parameters: width=0 height=0.

Image size is selected automatically for the size of text