Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2004-06-08 19:27:48

Cerebus
Member
Registered: 2004-02-24
Posts: 23
Website

Re: g1.19 Released

Thank you, Dean! Your excellent work continues.

The upgrade process was completely flawless except for me forgetting to update a hack I’ve been using that, I think, might not be necessary any longer with the Txp way is handling URL Titles now.

<txp:article_image /> is possibly the greatest thing to come along in Txp ever. Well, that’s not necessarily true but the addition of that tag allows me to stop hacking Txp to get the article images I was getting by using categories and feeding that to an img tag.

The question I have now is the contents of the Article Image tag, must they be a full URL or can I enter in a path relative to the journal’s root? Better yet, can I specify a path for all article images to default to since I keep them all in the same folder anyway?

Thanks!
:R.

Last edited by Cerebus (2004-06-08 19:33:28)


How am I supposed to enjoy this with you crying?

Offline

#38 2004-06-08 21:05:56

trailgirl
Member
Registered: 2004-06-04
Posts: 68
Website

Re: g1.19 Released

Cerebus, I have been trying out the new article image tag. It can take a url (including images that have not been uploaded through Texpattern) or a path, for example, /images/15.jpg but you can also just use the id of the image. Very nice!

Offline

#39 2004-06-08 21:55:56

DougBTX
Archived Plugin Author
Registered: 2004-05-23
Posts: 22

Re: g1.19 Released

deanloading :)

Douglas

Offline

#40 2004-06-08 22:38:46

Cerebus
Member
Registered: 2004-02-24
Posts: 23
Website

Re: g1.19 Released

> trailgirl wrote:

> Cerebus, I have been trying out the new article image tag. It can take a url (including images that have not been uploaded through Texpattern) or a path, for example, /images/15.jpg but you can also just use the id of the image. Very nice!

Do you know if it can use the image name as well? It’s much easier to remember that than the id in which it appears in the database.


How am I supposed to enjoy this with you crying?

Offline

#41 2004-06-08 23:49:52

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: g1.19 Released

Is there a way to output the article_image thumbnail? For example:
<code><txp:article_image usethumbs=“true”></code> that way I could show the thumbnail on the section page and show the full image on the individual article page. With this functionality I could use the excerpt field for something else.

Last edited by tinyfly (2004-06-08 23:59:20)

Offline

#42 2004-06-08 23:53:45

trailgirl
Member
Registered: 2004-06-04
Posts: 68
Website

Re: g1.19 Released

> Cerebus wrote:

> > trailgirl wrote:

> Do you know if it can use the image name as well? It’s much easier to remember that than the id in which it appears in the database.

I haven’t been able to get it to work with the image name.

Offline

#43 2004-06-09 00:13:52

Tom Alday
Member
Registered: 2004-04-27
Posts: 38
Website

Re: g1.19 Released

1.19 seems to have some problems, i think i’ll hold off on upgrading

Offline

#44 2004-06-09 01:07:19

trailgirl
Member
Registered: 2004-06-04
Posts: 68
Website

Re: g1.19 Released

> tinyfly wrote:

> Is there a way to output the article_image thumbnail? For example:
<code><txp:article_image usethumbs=“true”></code> that way I could show the thumbnail on the section page and show the full image on the individual article page. With this functionality I could use the excerpt field for something else.

Where is your full image now? In the body? You could use article_image for the thumbnail. For example, if your image is /images/19.jpg you would store /images/19t.jpg as the Article Image and then in your form <code><txp:article_image /></code> will display the thumbnail, which could be used in a link, for example <code><txp:permlink><txp:article_image /></txp:permlink></code>

Offline

#45 2004-06-09 01:23:57

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: g1.19 Released

trailgirl,

The way I am using it now is that I have the full image in article_image and in the excerpt I have the <code><txp:thumbnail id=“19” /></code> tag. The reason that I would like a tag to use the thumbnail for article_image is so that I can have one less thing to put in every article. I could just use the appropriate tags in a form and be done with it. All I would have to do is add the image id# in article_image.

Offline

#46 2004-06-09 01:59:58

CellarFloor
New Member
Registered: 2004-05-11
Posts: 3
Website

Re: g1.19 Released

The update.php thing is confusing. I only read the part at the bottom of the page and was confused initially. If all the upgrade instructions were in one part of the install page things would be clearer.

Offline

Board footer

Powered by FluxBB