Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2004-10-25 14:49:04
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] zem_article_image
Aah, thank you, now it works!
Offline
#14 2005-01-11 05:09:12
- icubyx
- Member
- From: India
- Registered: 2004-12-16
- Posts: 21
Re: [plugin] [ORPHAN] zem_article_image
Zem, is there any way I can place the images beside (or above) the article directly using the plugin without having to play around with CSS?
only change is constant
Offline
Re: [plugin] [ORPHAN] zem_article_image
zem- It looks like your plugin isnt working on your site. Its not wokring on mine either.. WHat gives? I love your stuff man and I need my multiple images and thumbnails!
Offline
Re: [plugin] [ORPHAN] zem_article_image
This doesn’t work if you have TXP installed in a sub-folder. This plugin uses a relative img src for the thumbnail, such as ‘/images/2t.gif’, which can cause problems.
I hacked it to work with the latest TXP Rc3 by changing this line (both occurances):
(ignore square brackets, BBCode isn’t on)
$out[]= “[img src=\”{$pfr}{$img_dir}/{$id}{$ext}\”“. “ alt=\”{$alt}\”“.”/]”;
I had to add the doman name and TXP install folder (http://www.mysite.com/tp/):
$out[]= “[img src=\“http://www.mysite.com/tp/{$pfr}{$img_dir}/{$id}{$ext}\”“.” alt=\”{$alt}\”“.”/]”;
Last edited by BlueMamba (2005-06-21 21:39:54)
Offline
Re: [plugin] [ORPHAN] zem_article_image
zem, I hope you don’t mind but I made a minor modification to your plugin. I think it’s a rather useful one myself. I added the title attribute [which technically just mirrors the alt text]. I just added
“ title=\”{$alt}\”“. // RSL
after the line with the alt text in it. I added my name in the comment just to remember what I’ve markupped. Maybe other people don’t like using the title attribute but I’m nigh neurotic about it. :)
Offline
#18 2005-07-29 13:16:41
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [plugin] [ORPHAN] zem_article_image
zem_article_image ain’t working for me on RC4 [662]
should it be?
and would multiple article images be a feature considered by the developers?
Offline
#19 2005-07-29 17:52:32
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] zem_article_image
It’s working for me in rev 665.
Offline
#20 2005-07-30 06:26:00
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [plugin] [ORPHAN] zem_article_image
thanks doggiez – at least I know it should it work now
in my article form: <code><txp:zem_article_image /></code>
in my article – advanced options / article image: <code>5, 6, 7</code>
plugin is 0.1 – turned on
there are images with IDs of 5, 6 and 7
I’ve turned off every other plugin
I’m doing something kooky, somewhere
Offline
#21 2005-07-30 09:02:33
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] zem_article_image
I’m not using the multiple image option at the moment, but as far as I know <code><txp:zem_article_image /></code> outputs only the first image, if you want more use <code><txp:zem_article_image limit=“n” /></code>.
Offline
#22 2005-07-30 09:35:09
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [plugin] [ORPHAN] zem_article_image
yep, tried that too, but not outputting 1 or multiple images
Offline
#23 2005-07-30 09:51:41
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] zem_article_image
I just gave it a try and multiple images is working for me.
Article images: 29,3,4
In my form:
<code><txp:zem_article_image limit=“3” /></code><br />
All three of them are returned.
Offline
#24 2005-07-31 01:02:41
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] zem_article_image
nardo: try removing the spaces between each; 5,6,7
instead of 5, 6, 7
. By the way: your request regarding this plugin and upm_img_popper shall be granted shortly. :)
Offline