Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-08-11 13:39:46

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Advance options & article image

Can <code><txp:article_image /></code> be made to work with content/article/advanced options / article image field when used in excerpt.

And can we have <code><txp:article_thumbnail/></code>, and for it to work with the advanced options / article image field.

And can they both work in the excerpt.

Please.

Last edited by lee (2005-08-11 14:07:56)

Offline

#2 2005-08-11 16:59:06

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Advance options & article image

“Can article_image be made to work with article image field…”

It does, but…

“…when used in excerpt.”

…that confuses me.

“And can we have article_thumbnail, and for it to work with the advanced options / article image field.”

It does.

“And can they both work in the excerpt.”

You’ve lost me again. :)

Offline

#3 2005-08-11 23:24:27

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Advance options & article image

Put <code><txp:article_image /></code> in the excerpt of an article and put an image id number in content/article/advanced options / article image field and the image dosen’t show.

As far as I know there is no <code><txp:article_thumb /></code>. I’m asking that one is created and that it references the content/article/advanced options / article image field and displays a thumbnail.

And I’m asking that that they both work when used in an article excerpt.

Offline

#4 2005-08-12 01:38:42

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Advance options & article image

zem_article_image has an article thumb option. Not sure if that’s been added to <txp:article_image>. I thought it had but the Textbook tag reference doesn’t reflect that. I think <zem_article_image> should work fine in the excerpt although I haven’t actually tried it.


Shoving is the answer – pusher robot

Offline

#5 2005-08-12 08:38:14

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Advance options & article image

This does it. But I still think there should be a built in article_thumb tag.

Offline

#6 2006-01-09 22:47:02

BZ
Member
From: Stuttgart, Germany
Registered: 2005-11-24
Posts: 65
Website

Re: Advance options & article image

can it be that this plugin works only if textpattern is installed in the server’s root directory?
I have it in a subdirectory, and while < txp:article_image> renders the correct image url, < txp:zem_article:thumb /> gives me only /images/image.jpg (where it should be /textpattern/images/image.jpg). I have tried changing the default image folder in the admin menu to textpattern/images, but then I can’t use < txp:article_image /> any more because of the side effects (…am I supposed not to?).

How did you deal with this? Did anyone?


Diagnosis:
Version Textpattern: 4.0.3 (r1188)
PHP-Version: 4.4.1
Hosting: all-inkl.com

Offline

#7 2006-01-10 07:45:51

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,354
Website GitHub Mastodon

Re: Advance options & article image

I cannot offer any clues on zem_article_image but can affirm that wet_article_thumb works no matter where your site is located.

Offline

#8 2006-01-10 21:22:35

BZ
Member
From: Stuttgart, Germany
Registered: 2005-11-24
Posts: 65
Website

Re: Advance options & article image

wet,
this works great, thanks a lot!


Diagnosis:
Version Textpattern: 4.0.3 (r1188)
PHP-Version: 4.4.1
Hosting: all-inkl.com

Offline

#9 2006-07-04 18:19:02

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Advance options & article image

Dunno about 4.0.3, but this works in svn deleted; article_image field works from excerpts, and you can output article image thumbnails.

Last edited by Mary (2006-07-04 23:45:31)

Offline

#10 2006-07-04 18:22:04

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Advance options & article image

Mary wrote:

Dunno about 4.0.3, but this works in svn (4.0.4)

Is SVN considered 4.0.4 – as in Powered by TxP 4.0.4 (r1410)?

Offline

#11 2006-07-04 18:24:42

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Advance options & article image

deleted

See Sencer’s post.

Last edited by Mary (2006-07-05 00:02:15)

Offline

#12 2006-07-04 23:44:00

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Advance options & article image

It’s much better to not use version numbers when talking about work in progress – as this inly leads to confusions down the road. SVN contains the development version of the 4.0 branch (revision xyz). 4.0.4 will be a downloadable release which at some point will be created from the branch.

Offline

Board footer

Powered by FluxBB