Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#133 2007-04-23 13:06:57
- FRIIIEEK
- Member
- From: Düsseldorf
- Registered: 2007-03-23
- Posts: 17
Re: hak_article_image
Thank you too, for helping that fast!
But unfortunately you seem to got me wrong… :(
I need to use linktype=page and I’m searching for a solution to add the current section and category!
Something like this:
i.e.
i’m on
http://SERVERNAME/textpattern/index.php?s=Cat&c=Catswith2tails
and there’s a link to the article ID 12 with picture ID 7
the URL should look like this:
http://SERVERNAME/textpattern/index.php?s=Cat&c=Catswith2tails&id=12&p=7
Any solution?
Last edited by FRIIIEEK (2007-04-23 13:07:24)
Offline
#134 2007-04-23 13:37:01
Re: hak_article_image
FRIIIEK,
I did misunderstand, I think it should be possible.
Photonomad,
The plan is to eventually break out all the image components so you can build your own through a form kind of like upm_image does. I just haven’t gotten that granular yet because I need to rewrite the image and thumbnail functions first to get that too work.
Shoving is the answer – pusher robot
Offline
#135 2007-04-24 00:18:48
Re: hak_article_image
Page linktype will now pass along a category specified in the category attribute or the currently active category
Friiiek, there is no way to display an article using clean urls in a section that is not the article section. Therefore you won’t see the section passed along in messy mode. The articles section will still be valid for anything that checks it though even though it’s not in the url.
Shoving is the answer – pusher robot
Offline
#136 2007-04-25 07:45:10
- FRIIIEEK
- Member
- From: Düsseldorf
- Registered: 2007-03-23
- Posts: 17
Re: hak_article_image
oh my! you’re the best! Thank you very much!!!
Offline
#137 2007-05-02 11:24:57
- FRIIIEEK
- Member
- From: Düsseldorf
- Registered: 2007-03-23
- Posts: 17
Re: hak_article_image
another question of mine… hehe, erm.. yes, here it is:
i’d like to use this <txp:hak_image_alt />
, but it do not want to work, for me…
i got a form with:
<txp:hak_article_image limit="1" urloverride="1" link="0" linkclass="left" />
<txp:hak_image_alt />
<txp:hak_article_thumb linkclass="thumb" displaylink="1" />
I thought <txp:hak_image_alt />
would give me the ALT-Tag of the Picture displayed with <txp:hak_article_image />
What am I doing wrong?
Thanks 4 help again… again and again… ;)
.greetz
FRIIIEEK
Last edited by FRIIIEEK (2007-05-02 11:26:01)
Offline
#138 2007-05-02 13:55:04
Re: hak_article_image
You need to use it inside a form called by hak_article_image. I’m not completely following what you are trying to do so this might not give you exactly what you want, but you would do something like this in article form
<txp:hak_article_image limit='1' urloverride='1' form='article_image' />
and in the form called article_image
<txp:hak_article_image_link class="left">
<txp:hak_image />
</txp:hak_article_image_link>
<txp:hak_image_alt />
<txp:hak_article_image_link class="thumb">
<txp:hak_thumb />
</txp:hak_article_image_link>
Any tag listed under the Form Tags section of the docs can only be used inside a form that is called by <txp:hak_article_image />
Think of it as a <txp:article />
tag for article images.
Shoving is the answer – pusher robot
Offline
#139 2007-05-02 14:03:18
- FRIIIEEK
- Member
- From: Düsseldorf
- Registered: 2007-03-23
- Posts: 17
Re: hak_article_image
O.o
oh! alright… i thought the <txp:hak_image_alt />
would show me automatically the ALT-Attribute of the current <txp:hak_article_image />
sorry, dumb question…
Offline
#140 2007-05-02 14:28:22
Re: hak_article_image
It depends on a variable that sets the current image which only exists inside the <txp:hak_article_image />
tag context. Otherwise you couldn’t do multiple images.
Shoving is the answer – pusher robot
Offline
#141 2007-05-02 14:42:52
Re: hak_article_image
Hello hakjoon!
Just checking in about the possibility of adding Next and Previous links for images when using the page/anchor settings for this plugin.
Thanks!
Offline
#142 2007-05-02 14:46:09
Re: hak_article_image
Hmm that’s an interesting idea. Let me look into it.
Shoving is the answer – pusher robot
Offline
#143 2007-06-11 05:35:17
- mhulse
- Plugin Author
- From: Eugene Oregon
- Registered: 2005-01-21
- Posts: 200
Re: hak_article_image
Great plugin!
One quick question: Is it possible for the plugin to return just the url to each image? Example:
/path/to/image/from/root/image1.jpg
Perhaps via a form?
Thanks!
Cheers,
M
Offline
#144 2007-06-11 14:08:36
Re: hak_article_image
Not at the moment but it’s in the works. I want to keep making the forms more and more granular.
Shoving is the answer – pusher robot
Offline