Elxis CMS Forum
Extensions => Bots and plugins => Topic started 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.
-
(http://runsite.ru/tmpr/e9acdf024c1d8ab88bc01f89978cba95.png)
???
-
HTML tag is not supported
-
how to make the text not the whole length of the page, such as the default size?
(http://runsite.ru/tmpr/f11d92bd5ab1b46163744f6ee21ab34a.png)
-
use parameters: width=0 height=0.
Image size is selected automatically for the size of text