Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#97 2005-01-29 20:21:13
- starzabove
- Member
- Registered: 2004-04-13
- Posts: 76
Re: [plugin] [ORPHAN] zem_image_replace, version 2
The space after has helped me with this problem for most font-cut-off problems.
90+ Textpattern installs and still going…
Offline
#98 2005-01-30 08:06:46
- Jick
- Member
- Registered: 2004-11-27
- Posts: 14
Re: [plugin] [ORPHAN] zem_image_replace, version 2
I actually found a fix for it. It’s kinda dirty but it works perfectly in every test I have done. First, find this line in the plugin:
$h = $h + $drop;
Then add this on the next line after it:
$w = $w + $drop;
You then have to specify the “drop” attribute in pixels on the tag. What that mod does is it tells it to add the same amount of “drop” to the sides as it does the top and bottom. It works perfectly for me and nothing gets cut off.
I think Zem could modify his plugin so it has a vert-drop and hor-drop. It would be basically the same as what I did except you could then specify a different value for top to bottom and side to side.
It’s probably not the best way to do it but it gets the job done. I’m sure Zem has his own way that he plans to release in the next version but for those of you who need it fixed now please feel free to use my way.
Offline
#99 2005-01-31 13:33:48
- alexandra
- Member
- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [plugin] [ORPHAN] zem_image_replace, version 2
@Jick
well done. thx for posting your solution. it sounds as if this is the Great Step Forward…
Offline
#100 2005-01-31 21:28:39
- Jick
- Member
- Registered: 2004-11-27
- Posts: 14
Re: [plugin] [ORPHAN] zem_image_replace, version 2
> alexandra wrote:
> @Jick
well done. thx for posting your solution. it sounds as if this is the Great Step Forward…
Thanks. I just hope it can help everyone. :)
Offline
#101 2005-01-31 21:47:17
- alexandra
- Member
- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [plugin] [ORPHAN] zem_image_replace, version 2
>Thanks. I just hope it can help everyone. :)
@Jick
let us know your site, once it´s online!! I am already curious ;)
@für deutsche
for the german speaking users: i did write a summery on the image replacement plugin
Offline
#102 2005-02-01 01:54:50
- Jick
- Member
- Registered: 2004-11-27
- Posts: 14
Re: [plugin] [ORPHAN] zem_image_replace, version 2
My site is up right now and using the fix already. My site is a blog and it’s located at http://ths.thenamesdan.com/. ;)
Offline
#103 2005-02-02 21:11:11
- Jick
- Member
- Registered: 2004-11-27
- Posts: 14
Re: [plugin] [ORPHAN] zem_image_replace, version 2
I now have an article on my blog site about this fix. Feel free to take a gander. You can find the article here.
Offline
#104 2005-02-03 02:51:53
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_image_replace, version 2
There’s a new version up. Amongst the many improvements is a padding
attribute, which provides a more flexible clipping solution than drop
.
Alex
Offline
#105 2005-02-04 04:32:21
- starzabove
- Member
- Registered: 2004-04-13
- Posts: 76
Re: [plugin] [ORPHAN] zem_image_replace, version 2
zem,
Have I recently told you how awesome you are? THANKS again!
90+ Textpattern installs and still going…
Offline
#106 2005-02-05 04:51:55
- starzabove
- Member
- Registered: 2004-04-13
- Posts: 76
Re: [plugin] [ORPHAN] zem_image_replace, version 2
Wrap is way cool!
I’m experimenting with all sort of cool design ideas already.
One effect I’m stumped on is trying to get
A
T
I
T
L
E
L
I
K
E
T
H
I
S
I can get it by typing it as above in the code, without using the ‘wrap’, but there are huge gaps between each line, any ideas on a way to control the size of that space?
(it’s probably something obvious, sorry, guess I am on the tired side)
Thanks again and again….
90+ Textpattern installs and still going…
Offline
#107 2005-02-05 08:06:10
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_image_replace, version 2
There is a linespacing option in FT2. Unfortunately there’s a bug in all current versions of PHP that basically renders it useless. Otherwise I would’ve added an option for it.
Alex
Offline
#108 2005-02-06 14:47:05
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] zem_image_replace, version 2
This is probably a dumb question, but I’m still on g1.19 and I can’t seem to install the plugin. Can anyone tell me how to?
Offline