Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
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)
Refresh Dallas and other Refreshing Cities.
Offline
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
Re: g1.19 Released
1.19 seems to have some problems, i think i’ll hold off on upgrading
Offline
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
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.
Refresh Dallas and other Refreshing Cities.
Offline
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