Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#86 2005-01-12 23:01:13

Sebastiaan
Member
From: Groningen (NL)
Registered: 2004-10-19
Posts: 16
Website

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

#90 2005-01-13 10:34:48

Sebastiaan
Member
From: Groningen (NL)
Registered: 2004-10-19
Posts: 16
Website

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

#91 2005-01-23 16:50:44

steventer
Member
Registered: 2004-12-03
Posts: 56

Re: [plugin] [ORPHAN] zem_image_replace, version 2

Is there a way to reduce or eliminate the whitespace generated after the image-replaced text?

Currently I have a large amount of white space between the article title and the date:

[txp:permlink]
[txp:zem_image_replace font=“MinionPro-Bold.ttf” fontdir=”/usr/www/users/healthij/fonts” fontsize=“18” color=”#3a648d”]
[txp:title /]
[/t xp:zem_image_replace]
[/txp:permlink]
[br /]
[span class=“biodate” /]
[txp:posted format=“l d M Y” /]
[/span]
[/h3]
[div class=“imageleft”]
[txp:article_image /]
[/div>[txp:body /]
[p]
[txp:comments_invite /]
[/p]

Last edited by steventer (2005-01-23 17:00:44)

Offline

#92 2005-01-29 00:08:03

Jick
Member
Registered: 2004-11-27
Posts: 14

Re: [plugin] [ORPHAN] zem_image_replace, version 2

Hey Zem,
First of all I would just like to say that I love your plugin. It works perfectly and makes the whole “dynamically generated headers” process much easier.

Ok, now on to business. Can you please read this post and try to answer that question for me? I would greatly appreciate it. Thanks. :)

Offline

#93 2005-01-29 01:26:41

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: [plugin] [ORPHAN] zem_image_replace, version 2

Jick,

The documentation on thresholdstate.com comes from the plugin that’s actually installed there – which isn’t quite ready for release yet. I agree that’s unnecessarily confusing. Releasing a new version is on my TODO list, along with hundreds of other things.

The problems with text clipping (and unnecessary whitespace) are, as far as I can determine, caused by bugs in GD’s handling of font metrics.


Alex

Offline

#94 2005-01-29 01:58:33

Jick
Member
Registered: 2004-11-27
Posts: 14

Re: [plugin] [ORPHAN] zem_image_replace, version 2

Oh, I see. Well I guess I’ll just have to use plain text or the flash method until the problem is resolved. That is, if it can even be fixed. Thank you for the reply. Have a nice day. :)

Offline

#95 2005-01-29 11:27:20

mamash
Member
From: Prague
Registered: 2004-02-21
Posts: 127
Website

Re: [plugin] [ORPHAN] zem_image_replace, version 2

There is a dirty workaround to the right-clipping problem – add a space to the string replaced.


Who’s gonna textdrive you home tonight?

Offline

#96 2005-01-29 14:53:47

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: [plugin] [ORPHAN] zem_image_replace, version 2

@Jick

i just came across Jay´s site. He implemented Zems plugin successfully. Ask him about how he worked it out and let us know …. :)

Offline

Board footer

Powered by FluxBB