Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
#85 2005-01-12 14:37:40
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [plugin] [ORPHAN] zem_image_replace, version 2
Hie, i have exactly the same problem as richardw2 who posted above. Everything seems fine but server says: can not create image.
any ideas?
Last edited by alexandra (2005-01-24 17:05:37)
Offline
Re: [plugin] [ORPHAN] zem_image_replace, version 2
Hi,
I have a small problem:
the zem_image_replace plugin works fine, except for the fact that the first image is not displayed, as you can see here
Problem seems to be that there the last “ (umlaut) in the third post tag is missing in the xhtml source:
<code><h1 style=“margin: 0 0 0 -5000px; background: url(‘/images/zir/7999f57eb682f34408a7af562b7e9f7d.png’) no-repeat top right; height: 27px; text-align: left;>Third Post
Any idea, posted or just a plain fresh one?
Thanks!
Last edited by Sebastiaan (2005-01-12 23:05:10)
“Bartender, a bit of advice. Always inspect a jukebox carefully.
These machines can be deadly.” — Adam West, the Original Batman
Offline
#87 2005-01-13 01:55:37
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_image_replace, version 2
Sebastiaan,
I think this might be caused by a missing quote in your HTML – <div id="articlelist>, just before the first image.
Alex
Offline
#88 2005-01-13 01:56:21
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_image_replace, version 2
Alexandra,
Does using ft=0 help?
Alex
Offline
#89 2005-01-13 09:41:35
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [plugin] [ORPHAN] zem_image_replace, version 2
> zem wrote:
> Alexandra,
Does using ft=0 help?
@Zem
yeah … great, works.
sorry for bothering you. i could have tryed this before asking.
anyway, a great plugin, Zem! you code impressing stuff, no doubt.
as the images get chopped off a bit, i tryed to apply width, height and padding but none of the attributes do appear in source code. what is the correct syntax for padding? I tryed all i could think of.
Last edited by alexandra (2005-01-13 11:04:00)
Offline
Re: [plugin] [ORPHAN] zem_image_replace, version 2
> zem wrote:
> Sebastiaan,
I think this might be caused by a missing quote in your HTML – <div id="articlelist>, just before the first image.
Ahem… yes, that was it. Thank you zem! Now, excuse me as I walk the walk of shame…
“Bartender, a bit of advice. Always inspect a jukebox carefully.
These machines can be deadly.” — Adam West, the Original Batman
Offline