Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [plugin] [ORPHAN] zem_image_replace, version 2
Im having the same problem and message that Starzabove HAD and Kennethlove HAS, that gd and freetype are not supported and there is no way I can get my host to upgrade apache. Does anyone have a solution for this yet?
Offline
#74 2004-10-28 22:08:30
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_image_replace, version 2
Martagnan,
Does phpinfo() show that GD and/or freetype are supported?
Alex
Offline
Re: [plugin] [ORPHAN] zem_image_replace, version 2
Hi Zem…
Is this what your looking for?
<img src=“http://martagnan.co.uk/phpinfo.gif” />
Can’t see any mention of Freetype though…
Last edited by Martagnan (2004-10-29 08:13:41)
Offline
#76 2004-10-30 01:18:35
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_image_replace, version 2
Ah. Looks like Freetype is required. The “use freetype” option and detection thing in the “info” output should read “Freetype 2”.
I could’ve sworn that’s not what the PHP manual said, but there you go.
Alex
Offline
#77 2004-11-05 05:12:22
- richardw2
- New Member
- Registered: 2004-05-26
- Posts: 3
Re: [plugin] [ORPHAN] zem_image_replace, version 2
I try and I try, I fight and I fight. I even tried some judo but nothing.
I’m stuck with the following error.
Error: The server could not create this heading image.
my image and zir directories are set to 0777, and i’m using v3.
GD is set w/ the works.
gd
GD Support enabled
GD Version bundled (2.0.12 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
Any help would be great.
Thanks
Richard
Last edited by richardw2 (2004-11-06 13:22:52)
Offline
Re: [plugin] [ORPHAN] zem_image_replace, version 2
> zem wrote:
> Ah. Looks like Freetype is required. The “use freetype” option and detection thing in the “info” output should read “Freetype 2”.
>I could’ve sworn that’s not what the PHP manual said, but there you go.
This is so sad. :(
I see the moon, and the moon sees me.
God bless the moon, and God bless me.
Offline
#79 2004-12-25 10:43:48
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: [plugin] [ORPHAN] zem_image_replace, version 2
Hello, and Merry Christmas,
I try this plugin without success :
My server is ok : I’m able to generate images from my fonts with the original header.php file from ALA.
I try the Info=1 and all seems to be ok :
cache folder … /images/zir is a directory
cache folder … /images/zir is writable
font file … /ripls.ttf is a file
font file … /ripls.ttf is readable
freetype is supported
GD is supported
iconv is supported
I put my tag in a form like this :
<pre><code>
<div class=“article”>
<txp:zem_image_replace
info=0
font=“ripls.ttf”
fontsize=24
wraptag=“h2”
trans=1 >My text</txp:zem_image_replace>
<txp:body />
<div class=“spacer”>
</div>
</div>
</code></pre>
and I get the “Error: The server could not create this heading image.” message.
Any idea ?
Thanks for the help !
Last edited by jpdupont (2004-12-25 10:44:43)
Offline
#80 2004-12-26 18:28:24
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: [plugin] [ORPHAN] zem_image_replace, version 2
I play today with the plugin source code : I found I must set ft=0 !
Actually all is OK, and work as expected.
Maybee set 0 as default for ft (freetype) ???
Offline
Re: [plugin] [ORPHAN] zem_image_replace, version 2
My info states that iconv is not supported, anyone have a link to a how-to so I can install it on the server or is this not needed?
Offline
#82 2005-01-04 23:09:41
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_image_replace, version 2
iconv is optional.
Alex
Offline
Re: [plugin] [ORPHAN] zem_image_replace, version 2
thanks for the info zem I got it working, however the right side of my images are being cut off and drop seems to have no effect on other fonts which are suffering from chopped dropped letters. Any idea on how to fix this?
Offline
#84 2005-01-09 03:25:58
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_image_replace, version 2
The clipping problem seems to be caused by bugs in GD.
The next version will include a padding
attribute to help with this. It’ll be released when I get time.
Alex
Offline