Textpattern Forum

You are not logged in. Register | Login | Help

#191 2009-11-28 21:22:35

thebombsite
Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

Mmmm. Seems odd. It’s working for me. I wondered if it might be your use of the lir method but I changed mine and it still works. It isn’t a caching problem is it? Have you tried a Ctrl-F5? Or do you have a height set for the surrounding block that hides the wrapped text? What version do you have?


Stuart – The BombsiteProText ThemesTextgarden

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#192 2009-12-02 18:20:00

holli.p
Member
From: Pinneberg/Germany
Registered: 2004-04-21
Posts: 83
Website

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

I haven’t set a height, but there is a height in the generated code:

my code
<txp:permlink><txp:zem_ir font="trebuc.ttf" fontdir="../test/fonts/" fontsize="18" wrap="440" color="#7a6a5e" depth="24" padding="3 3 6 0" wraptag="h1"><txp:title /></txp:zem_ir></txp:permlink>

the generated code:
<a rel="bookmark" href="http://www.northerndelight.de/test/4/sommerkollektion"><h1 style="text-indent: -5000px; background: url(/test/images/zir/5df9f90e0b818923da4d7bbdb7a54377.png) no-repeat top left; height: 62px;" title="es ist ja wirklich ganz selten, dass ich hier für kommerzielle Dinge werbe">es ist ja wirklich ganz selten, dass ich hier für kommerzielle Dinge werbe</h1></a>

the css for the h1 tag
h1 {font: bold 24px trebuchet ms, sans-serif; color: #7A6A5E; margin: 0px 0px 5px 0px; width: 440px; text-align: left;}
h1 a {text-decoration: none;}

The zem_ir version is 0.5
Textpattern 4.2.0


Visit my Textpattern sites:
Northerndelight | Hasenbude
Curiculum Vitare | Rezepteblock

Offline

#193 2011-02-20 08:49:26

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 840
Website

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

Just for the record – in case anyone else has the same problem – a lack of GD Freetype support in your PHP installation will cause zem_ir to generate a blank page (i.e. zero byte).

Use the info="1" attribute to display debug information to determine whether you have Freetype or not (or use phpinfo();).

The problem will only manifest itself if zem_ir has to regenerate the text image – if it has been cached previously then you won’t see any issues.

Offline

#194 2012-03-03 21:49:11

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 838

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

Does this plug-in work in the current Textpattern version? Can I upgrade a older site where this plug-in is used?

Offline

#195 2012-03-03 22:16:47

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,374
Website

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

Yes, I am still using it on a 4.4.1 site.


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

#196 2012-03-03 22:19:59

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 838

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

Thank you for this information!

Offline

Board footer

Powered by FluxBB